Dear All,

This may be an age-old question, but I'm having trouble loading a dialog
from a DLL and haven't been able to find any solutions on the internet.

In my DLL, i have a dialog resource, and I create a modal dialog box using
win32 API's DialogBox() function.

In the executable, when I call the DLL function that loads the dialog box,
only the controls of the dialog box appears, but the frame itself doesn't.
Would someone please help me out on this one? Thank you so much!

Regards,
isa

RE: Dialog in DLL - plain win32 by Isa

Isa
Tue Jun 07 01:31:02 CDT 2005

Sorry all,

I made a stupid mistake... returned TRUE instead of FALSE in the DialogProc
for things that my function won't be handling... >_<


"Isa" wrote:

> Dear All,
>
> This may be an age-old question, but I'm having trouble loading a dialog
> from a DLL and haven't been able to find any solutions on the internet.
>
> In my DLL, i have a dialog resource, and I create a modal dialog box using
> win32 API's DialogBox() function.
>
> In the executable, when I call the DLL function that loads the dialog box,
> only the controls of the dialog box appears, but the frame itself doesn't.
> Would someone please help me out on this one? Thank you so much!
>
> Regards,
> isa