Article View: comp.windows.ms.programmer
Article #3445ARE THERE ANY ALTERNATIVES TO MODELESS DIALOGS...
From: Robert D. Thompson
Date: Thu, 27 Jun 1991 22:30
Date: Thu, 27 Jun 1991 22:30
36 lines
1541 bytes
1541 bytes
Many times I find myself having to display numerous controls (edits,listboxes,checks,custom controls,etc.) in Windows and MDI Child Windows. To do this, I use one of the following methods, 1. Create each control manually using CreateWindow and display the control in the Windows client area. OR 2. Create a modeless dialog box and display it in the Windows client area. I use 2 most often, but I find that to avoid processing the message twice, I have to preclude my MainWindowProc message dispatching with IsDialogMessage(hModelessDialog...). Unless I am missing something drastic this is really the only way to do this. What I would like is a way to easily create all the controls upon initializing a Window (not a modeless dialog box) and then treat it as such from then on. If I am missing some fundamental method, will someone please let know? Otherwise, I would appreciate any suggestions on simplifying the display of dialog controls in Windows. Thanks...Regards |(8> --- Robert rdthomps@vela.acs.oakland.edu
Technical Details
Message-ID:
<7560@vela.acs.oakland.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!umich!vela!rdthompsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!umich!vela!rdthomps From: rdthomps@vela.acs.oakland.edu (Robert D. Thompson) Newsgroups: comp.windows.ms.programmer Subject: ARE THERE ANY ALTERNATIVES TO MODELESS DIALOGS... Message-ID: <7560@vela.acs.oakland.edu> Date: 27 Jun 91 22:30:34 GMT Reply-To: rdthomps@vela.acs.oakland.edu (Robert D. Thompson) Organization: Oakland University, Rochester MI Lines: 36