🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do I add buttons to the MDI frame?

#3441
From: SSL Guest User
Date: Wed, 26 Jun 1991 17:44
26 lines
1468 bytes
Herb writes:

> For the application I am writing, I would like to use buttons for some
> of the commands rather then using the pull down menu.  However, I can't
> figure out how to add the buttons on without having any of the MDI child
> windows overlapping the buttons.  Does anyone have a good suggestion on
> how I can do this?

Herb,

Refer to the multitude of posts on this subject prior to this one.
Also prepare yourself for the wrath of Robert Del Favero Jr.  He
answered this same, exact question earlier, but not before delivering
a stirring sermon condemning those who don't bootstrap themselves
to his satisfaction.

But just in case you don't get to those notes (or Robert doesn't get to
you)...

1. Create you buttons, etc. as children of the Frame Window.
2. Resize the Client window on a WM_SIZE appropriately. 
   IMPORTANT: Do NOT fall thru to DefFrameProc().
3. Have a nice day.

Thomas
thomas@hpssl40.mayfield.hp.com
Technical Details
Message-ID: <25920011@hpkslx.mayfield.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!think.com!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpl-opus!hpcc05!hpcuhb!hpkslx!ssl
References: <9106241713.aa04130@Bonnie.ics.uci.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!think.com!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpl-opus!hpcc05!hpcuhb!hpkslx!ssl
From: ssl@hpkslx.mayfield.HP.COM (SSL Guest User)
Newsgroups: comp.windows.ms.programmer
Subject: Re: How do I add buttons to the MDI frame?
Message-ID: <25920011@hpkslx.mayfield.HP.COM>
Date: 26 Jun 91 17:44:52 GMT
References: <9106241713.aa04130@Bonnie.ics.uci.edu>
Organization: HP Response Center Lab
Lines: 26