Handling dialog messages for non-template based dialogs

Santosh Siddheshwar santosh.s at sonata-software.com
Tue Apr 13 07:21:27 CDT 2004


Hi,
  I didnt get the second point that you mention
	Another one might be that WM_CREATE must be always
	passed to DEFDLG_Proc regardless of what result an application
	returned to DefDlgProc16/A/W.
Regards
Santosh Siddheshwar

> -----Original Message-----
> From:	Dmitry Timoshkov [SMTP:dmitry at baikal.ru]
> Sent:	Tuesday, April 13, 2004 5:46 PM
> To:	Robert Shearman; wine-devel at winehq.org
> Cc:	santosh.s at sonata-software.com
> Subject:	Re: Handling dialog messages for non-template based dialogs
> 
> "Robert Shearman" <R.J.Shearman at warwick.ac.uk> wrote:
> 
> > > +            if (!(dlgInfo = HeapAlloc( GetProcessHeap(), 0,
> > sizeof(*dlgInfo) ))) return 0;
> > 
> > Minor point, but you probably want to return -1 here to say that window
> > creation failed.
> 
> Good catch. Another one might be that WM_CREATE must be always
> passed to DEFDLG_Proc regardless of what result an application
> returned to DefDlgProc16/A/W.
> 
> -- 
> Dmitry.
*********************************************************************
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