[comp.windows.ms] Dialog Box Style

michael1@cbnewsd.ATT.COM (michael.k.pula) (11/09/89)

    I am admittedly a beginner with MS Windows but am a quick learner!
				I have a number of support books on Windows programming including the
				SDK, but really use Petzold's book the most.

				On page 426 of "Programming Windows", Petzold states that you can add
				the WS_THICKFRAME and WS_MAXIMIZEBOX options to the STYLE statement,
				but when I try these options, sure enough I can size the dialog box,
				but the maximize function is disabled, even though the maximize indicator
				is visible.  Does anyone know what gives?   This pertains to the ABOUT1
				example in chapter 11.

				On another note, also in chapter 11, I'd been experimenting with modeless
				dialog boxes (since I think these will fill my need the best).  This is
				the colorscr example.  If I change the resource file to make the dialog
				box for the color scroll bars to include WS_THICKFRAME and WS_MAXIMIZEBOX
				the program sometimes upchucks and dies.

				Anyone have any hints as to how I can achieve modeless dialog boxes with
				the following characteristics: CAPTION, SYSMENU, THICKFRAME & MAXIMIZEBOX?
				I'll worry about making it visible later.  Pointers to examples are most
				helpful although I've really gone through the books looking for them.
				Would I be better off using other overlapped windows instead?  I really
				need to have multiple windows running under my appliation simultaneously 
				which can communicate but be accessed without having to close off prior
				windows.

				Thanks for any help you can provide,

  ______   _______   _____   _______     -------      Michael K. Pula
 /  __  \ <__   __> /  __ \ <__   __>  -====------    AT&T Bell Laboratories
 | (__) |    | |    \  \ \_\   | |    -======------   200 Park Plaza  Rm.1A-407 
 |  __  |    | |    /  _) __   | |    --====-------   Naperville, Il. 60566
 | |  | |    | |   (  (__/ /   | |     -----------    (312) 713-7584
 |_|  |_|    |_|    \_____/    |_|       -------      ..att!ihlpf!michael1