Re: Handling dialog messages for non-template based dialogs
12 Apr
2004
12 Apr
'04
1:04 p.m.
"Santosh Siddheshwar" <santosh.s(a)sonata-software.com> wrote:
Change Log: windows/defdlg.c - Added code for allocating DIALOGINFO structure and storing it as an attribute of the window windows/dialog.c - Removed code for allocating DIALOGINFO structure and moved initialization of DIALOGINFO structure to after CreateWindowEx has been called.
Very nice! I'm glad to see that you finally have fixed that. However, I see one minor point, which needs to be addressed as well: instead of duplicating WM_CREATE code in both DefDlgProcA and W just move it to DEFDLG_Proc. That way you will also fix 16-bit dialog creation code by adding the same case into DefDlgProc16. Thanks for your great work! -- Dmitry.
7919
Age (days ago)
7919
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov