Search found 12 matches

by h++
Wed Dec 16, 2009 3:28 am
Forum: Beginners Help
Topic: IGUIFileOpenDialog can`t find file in another driver
Replies: 5
Views: 347

Yet, Thank you!
But I wanted to let the window which can change disk when it arrived at the root directory.
by h++
Tue Dec 15, 2009 8:36 am
Forum: Beginners Help
Topic: IGUIFileOpenDialog can`t find file in another driver
Replies: 5
Views: 347

CuteAlien wrote:You should be able to type the drive-letter in the editbox where it shows the path.
Can you tell me further details
by h++
Tue Dec 15, 2009 7:22 am
Forum: Beginners Help
Topic: IGUIFileOpenDialog can`t find file in another driver
Replies: 5
Views: 347

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...
by h++
Wed Dec 09, 2009 7:24 am
Forum: Beginners Help
Topic: Setting the application icon
Replies: 3
Views: 370

Just to named the icon to irrlicht.bmp and then the irr will be load!
by h++
Mon Dec 07, 2009 2:21 am
Forum: Beginners Help
Topic: addMessageBox() question
Replies: 15
Views: 977

Oh yes! Just to separate id from messagebox event!
But when the main program obtains lots of messageboxs to show information to user, it is a trouble for ours to manage the messagebox attribute!
And the implementation of the code is not the order of!

So any good idea?
by h++
Mon Dec 07, 2009 1:33 am
Forum: Beginners Help
Topic: addMessageBox() question
Replies: 15
Views: 977

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...
by h++
Mon Dec 07, 2009 12:43 am
Forum: Beginners Help
Topic: addMessageBox() question
Replies: 15
Views: 977

addMeesageBox() has a "modal" parameter. Set it to true and the user can't interact with the gui except closing the message box. But I found it isn`t block! when the messagebox is showed! The next code also can run! Now! I just want the next code will be runed until the messagebox was clo...
by h++
Sun Dec 06, 2009 11:20 am
Forum: Beginners Help
Topic: addMessageBox() question
Replies: 15
Views: 977

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 ...
by h++
Sat Dec 05, 2009 4:05 am
Forum: Beginners Help
Topic: addMessageBox() question
Replies: 15
Views: 977

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...
by h++
Sat Dec 05, 2009 12:43 am
Forum: Beginners Help
Topic: addMessageBox() question
Replies: 15
Views: 977

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...
by h++
Fri Dec 04, 2009 12:15 pm
Forum: Beginners Help
Topic: addMessageBox() question
Replies: 15
Views: 977

Sylence wrote:You will be informed about the message box being closed in the event receiver
But how can I send the event to main program!
I found the addmessagebox() doesn`t return the button value of OK/CANCEL!
by h++
Fri Dec 04, 2009 9:16 am
Forum: Beginners Help
Topic: addMessageBox() question
Replies: 15
Views: 977

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...