Yet, Thank you!
But I wanted to let the window which can change disk when it arrived at the root directory.
Search found 12 matches
- Wed Dec 16, 2009 3:28 am
- Forum: Beginners Help
- Topic: IGUIFileOpenDialog can`t find file in another driver
- Replies: 5
- Views: 356
- Tue Dec 15, 2009 8:36 am
- Forum: Beginners Help
- Topic: IGUIFileOpenDialog can`t find file in another driver
- Replies: 5
- Views: 356
- Tue Dec 15, 2009 7:22 am
- Forum: Beginners Help
- Topic: IGUIFileOpenDialog can`t find file in another driver
- Replies: 5
- Views: 356
IGUIFileOpenDialog can`t find file in another driver
I am using IGUIFileOpenDialog and it works well! But I found the IGUIFileOpenDialog seems can only find file in current disk driver. Hence how to change the working directory by code? I found someones code like this: env->addFileOpenDialog(L"Please select a model file to open"); IGUIFileOp...
- Wed Dec 09, 2009 7:24 am
- Forum: Beginners Help
- Topic: Setting the application icon
- Replies: 3
- Views: 381
- Mon Dec 07, 2009 2:21 am
- Forum: Beginners Help
- Topic: addMessageBox() question
- Replies: 15
- Views: 1017
- Mon Dec 07, 2009 1:33 am
- Forum: Beginners Help
- Topic: addMessageBox() question
- Replies: 15
- Views: 1017
I just want the next code will be runed until the messagebox was closed by user! C++ knows the concept of classes and methods, so there's no need to 'stop' the execution of your code. Just call the code after your eventreceiver got the close event. 1. Create an EventReceiver which checks if the use...
- Mon Dec 07, 2009 12:43 am
- Forum: Beginners Help
- Topic: addMessageBox() question
- Replies: 15
- Views: 1017
- Sun Dec 06, 2009 11:20 am
- Forum: Beginners Help
- Topic: addMessageBox() question
- Replies: 15
- Views: 1017
When you have a modal messgebox the user shouldn't be able to operate the mainwindow at the same time. If that is what you meant... Oh! I just want to do like MFC! But I don`t know how to avoid user to operate the mainwindow when the messagebox window is showed! And now! when the messagebow window ...
- Sat Dec 05, 2009 4:05 am
- Forum: Beginners Help
- Topic: addMessageBox() question
- Replies: 15
- Views: 1017
The way I did it was to have a RunModal function in my main application class as that class was the one doing the gameloop. RunModal had the dialog which should be run modal as parameter and in the loop it checked if the dialog was still visible (although checking for messagebox-events might also w...
- Sat Dec 05, 2009 12:43 am
- Forum: Beginners Help
- Topic: addMessageBox() question
- Replies: 15
- Views: 1017
There is actually a way to get real blocking modal Messageboxes like you have them for example in MFC, but it's a little tricky. Basically you have to code the same trick which MFC does use: You have to write your mainloop in such a way that it's called within a function which started the MessageBo...
- Fri Dec 04, 2009 12:15 pm
- Forum: Beginners Help
- Topic: addMessageBox() question
- Replies: 15
- Views: 1017
- Fri Dec 04, 2009 9:16 am
- Forum: Beginners Help
- Topic: addMessageBox() question
- Replies: 15
- Views: 1017
addMessageBox() question
I found the addMessageBox() funtion is not blocked; Codes like: ... env->addMessageBox(L"MessageBox Test",L"Hello IRR",true,EMBF_OK|EMBF_CANCEL); int i; i = i + 1; ... When I call the addMessageBox funtion, it exit soon! Can I running the "i = i + 1" until the messagebo...