Path: 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 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