Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!netsys!lamc!well!brent From: brent@well.UUCP (Brent Southard) Newsgroups: comp.windows.ms Subject: Re: SDK Question - CreateWWindow Keywords: minimize Message-ID: <7923@well.UUCP> Date: 13 Dec 88 14:24:33 GMT References: <713@ethz.UUCP> Reply-To: brent@well.UUCP (Brent Southard) Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 21 In article <713@ethz.UUCP> hoss@ethz.UUCP (Guido Hoss) writes: >I wish to create a resizable child window with a system menu. The 'Minimize' >function should be disabled. I can delete the 'Minimize' option from the >system menu, but how do I get rid of the down arrow in the upper right >corner? Simple. When you use CreateWindow(), eliminate the WS_MINIMIZEBOX style from the dwStyle (third) parameter. This should also remove the Minimize menuitem for you. I'm not sure about the Minimize box, but Microsoft has stated that the Maximize box is supported only in the WS_OVERLAPPED class. I suspect the same is true of the Minimize box, so it's a good idea not to include either one in a child window's style specification. What? You mean the Programmer's Reference doesn't make this clear?! :) brent -- Brent Southard, ImageTech Corp. | Everybody's trying to be a friend of mine, Usenet: ...well!brent | Even a dog can shake hands. - W. Zevon CIS: 76657,415 | We fell into love, love's a very deep hole. GEnie: b.southard | - Loudon Wainwright III