Article View: comp.windows.ms
Article #1969Dialog Box Style
From: michael.k.pula
Date: Wed, 08 Nov 1989 17:52
Date: Wed, 08 Nov 1989 17:52
35 lines
2504 bytes
2504 bytes
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
Technical Details
Message-ID:
<2979@cbnewsd.ATT.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!agate!shelby!decwrl!vixie!pacbell!att!cbnewsd!michael1References:
<1989Nov8.070954.19920@rpi.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!agate!shelby!decwrl!vixie!pacbell!att!cbnewsd!michael1 From: michael1@cbnewsd.ATT.COM (michael.k.pula) Newsgroups: comp.windows.ms Subject: Dialog Box Style Message-ID: <2979@cbnewsd.ATT.COM> Date: 8 Nov 89 17:52:00 GMT References: <1989Nov8.070954.19920@rpi.edu> Reply-To: michael1@cbnewsd.ATT.COM (michael.k.pula,ihp,) Organization: AT&T Bell Laboratories Lines: 35