🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #3355

HOW CAN I GET AN MDI-CHILD W/ STYLE OF (WS_BORDER|WS_MINIMIZEBOX)!!!!!!!!!!

#3355
From: Robert D. Thompson
Date: Sat, 22 Jun 1991 20:29
31 lines
1344 bytes
Someone,

	I have an MDI Application and I want the Child/Document Windows
	of it not to have thickframes (for resizing) and not to have
	a maximize box.  I need all other functionality of the MDI
	API, including tiling, cascading, minimizing into icons, etc...

	But my windows are dialogs - and I do not want the user to be
	able to size them and maximize.

	I have tried,

		GetWindowLong, XOR with WS_THICKFRAME and WS_MAXIMIZE BOX

	and it works - at first.

	Subsequent MDI calls cause the style to revert once again back
	to a thickframe with a maximize box.

	How can I change it perminately ???

	I also tried SetWindowsLong (as above) in MDIACTIVATEAPP and
	other such places, but things get really quirky then.

	Any help would be greatly appreciated.

	Thanks...Regards |(8>
---
Robert
rdthomps@vela.acs.oakland.edu
Technical Details
Message-ID: <7458@vela.acs.oakland.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!umich!vela!rdthomps

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!umich!vela!rdthomps
From: rdthomps@vela.acs.oakland.edu (Robert D. Thompson)
Newsgroups: comp.windows.ms.programmer
Subject: HOW CAN I GET AN MDI-CHILD W/ STYLE OF (WS_BORDER|WS_MINIMIZEBOX)!!!!!!!!!!
Message-ID: <7458@vela.acs.oakland.edu>
Date: 22 Jun 91 20:29:18 GMT
Reply-To: rdthomps@vela.acs.oakland.edu (Robert D. Thompson)
Organization: Oakland University, Rochester MI
Lines: 31