Handling dialogs created without using templates

Santosh Siddheshwar santosh.s at sonata-software.com
Tue Mar 30 01:06:00 CST 2004


Hi,
  I have an application that creates dialogs without using any of the Win32
Dialog creation APIs. I find that a lot of the 
functionality in DEFDLG_Proc (DM_SETDEFID, DM_GETDEFID & WM_NEXTDLGCTL) is
unavailable for use with
dialogs created this way. This is because we allocate the DIALOGINFO
structure only in the dialog creation APIs. Dialogs
created without using these APIs have NULL DIALOGINFO structure. I also find
that allocating this structure and initializing 
the members of the structure will get around this problem. Does anyone
visualize any problems with this approach?
Also where would the best place to put such code?
Regards
Santosh Siddheshwar
*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************



More information about the wine-devel mailing list