PDA

View Full Version : Messagebox Help



buntonn
10-11-2003, 06:44 PM
Why when using the MessageboxEx function does it hide the install window and just show the message dialog and then when you click Ok the install dialog is show again?

Is it not possible to display the messagebox over the front of the install dialog?

Thanks

RichAquino
10-14-2003, 02:47 PM
Hi,

Do you have the dialog cache disabled?

Rich

buntonn
10-14-2003, 02:53 PM
I didn't know about this and just searched the help file which says its enabled by default so I guess so :confused:

RichAquino
10-14-2003, 02:57 PM
Hi,

I tried something like this and it looked fine ("test" messagebox displayed over the :

SomeDialog();
MessageBoxEx("test", "Caption", INFORMATION);

I tried this, and it behaved like you described:

Disable(DIALOGCACHE);
SomeDialog();
MessageBoxEx("test", "Caption", INFORMATION);

Rich

buntonn
10-14-2003, 03:02 PM
Ok thanks I will try with explicitly adding the following in the function.

ENABLE (DIALOGCACHE);

Thanks

Nick