The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: gnewz10 on November 15, 2006, 09:17:13 AM

Title: about using dialogbox..
Post by: gnewz10 on November 15, 2006, 09:17:13 AM
gud day,

how can i add a dialogbox and use/launch it within my application which is a dialog as main window?

thanks for any help.
Title: Re: about using dialogbox..
Post by: hutch-- on November 15, 2006, 10:39:58 AM
Pretty staright forward, get the window handle of the current parent dialog and use it as the parent handle for the child dialog. You get the handle for the main dialog from its DlgProc as the first parameter.