The MASM Forum

General => The Campus => Topic started by: cozofdeath on October 14, 2012, 01:51:42 AM

Title: WinAsm and CreateWindowEx
Post by: cozofdeath on October 14, 2012, 01:51:42 AM
Okay, I've always created my projects with the DialogBoxParam API as WinAsm adds it from the template and it's easy. Well lately I wanted to do some things that I can't with a dialog window so I wanted to use CreateWindowEx in WinAsm but I ran into a problem. Is it possible to draw out the window in the IDE and use it with CreateWindow like you can with DialogBoxParam?
Title: Re: WinAsm and CreateWindowEx
Post by: qWord on October 14, 2012, 02:10:21 AM
No, CreateWindowEx does not allow using resource dialogs. However, DialogBoxParam also use CreateWindowEx to create the dialog from template.
What is the problem with Dialogs?
Title: Re: WinAsm and CreateWindowEx
Post by: cozofdeath on October 14, 2012, 02:54:22 AM
I've been generally just playing around with making my window look better graphically.  I created a window with DialogBoxParam and I'm using regions to shape it along with some other things. But I also created another window in the shape of a flag and when a button is clicked I'm trying to have the window (flag) appear behind the parent and slowly raise it's position to the top of the main window. To do this I was trying to combine the regions because I didn't think I could make a window created by a parent dialog appear behind the parent.