[comp.windows.ms.programmer] ARE THERE ANY ALTERNATIVES TO MODELESS DIALOGS...

rdthomps@vela.acs.oakland.edu (Robert D. Thompson) (06/28/91)

	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