Author Topic: WinAsm and CreateWindowEx  (Read 2706 times)


  • Guest
WinAsm and CreateWindowEx
« 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?


  • Member
  • *****
  • Posts: 1473
  • The base type of a type is the type itself
    • SmplMath macros
Re: WinAsm and CreateWindowEx
« Reply #1 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?
MREAL macros - when you need floating point arithmetic while assembling!


  • Guest
Re: WinAsm and CreateWindowEx
« Reply #2 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.