🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #13381

Re: SDK Question - CreateWWindow

#13381
From: Brent Southard
Date: Tue, 13 Dec 1988 14:24
22 lines
1564 bytes
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
Technical Details
Message-ID: <7923@well.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!netsys!lamc!well!brent
References: <713@ethz.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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