For Programmers: Free Programming Magazines  


Home > Archive > VC Language > June 2005 > Dialog in DLL - plain win32









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Dialog in DLL - plain win32
Isa

2005-06-07, 3:58 am

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
Isa

2005-06-07, 9:02 am

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com