The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: cman on October 26, 2010, 05:38:52 PM

Title: Dialog Message Processing Loop
Post by: cman on October 26, 2010, 05:38:52 PM
Is there a way to use a resource compiler generated dialog box with an explicit message processing loop? Using "DialogBoxParam" doesn't allow me to utilize time intervals in between times that messages are sent to a dialog box. Thanks for any information!
Title: Re: Dialog Message Processing Loop
Post by: MichaelW on October 26, 2010, 10:17:49 PM
Try a modeless dialog created with CreateDialogParam. You can use the same template resource, but unlike a modal dialog, for a modeless dialog to be visible your template must specify the WS_VISIBLE style.
Title: Re: Dialog Message Processing Loop
Post by: ToutEnMasm on October 27, 2010, 01:54:44 PM

You can also have a look on the DIALOGEX at msdn.Changing styles and extended styles can made the dialog box act very near as  a window.Need some search and tests.