🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Menus in dialogs

#2343
From: Robert HESS
Date: Mon, 22 Apr 1991 15:26
36 lines
1963 bytes

Kate Stout (kstout@medieval.East.Sun.COM) asks:

|  I would like to include menus in a dialog. Any thoughts or
|  suggestions on how to go about this?

...Yes. Don't Do It!

Menus are *not* supported in dialogs (or child windows), while it is
possible to install a menu in a dialog (but not child windows), there
are a number of things that won't work right once you get it there.

Dialog boxes are not supposed to have menu bars, scroll bars (on the
client area), size borders, or be allowed to be minimized.  This is not
to say you can't do any of these things, just that it is highly
recommended that you don't.

When developing your Windows application, it is very important that you
do things the same way that other Windows applications do it.  This
maintains a standard interface for the user, and allows them to easily
understand how to utilize new programs.

If you want to flex your UI muscles a little, and add something whizzy,
unique and creative, then do it in your 'About' box, and not in your
applications interface.

-Robert

 __________________________________________________________________________
     #####   ####### |	  Robert B. Hess, Microsoft Corp., Redmond, WA
    ######  #######  |-----------------------------------------------------
   ####### #######   |	roberth@microsof.uu.net
  #### ##### ####    |	{decvax, uunet, uw-beaver}!microsof!roberth
 ####  ###  ####     |_____________________________________________________
   "...my opinions are strictly my own, and not those of my employer..."
Technical Details
Message-ID: <71984@microsoft.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!microsoft!roberth
References: <5542@eastapps.East.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!microsoft!roberth
From: roberth@microsoft.UUCP (Robert HESS)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Menus in dialogs
Summary: ...just say no...
Message-ID: <71984@microsoft.UUCP>
Date: 22 Apr 91 15:26:46 GMT
References: <5542@eastapps.East.Sun.COM>
Organization: Microsoft Corp., Redmond WA
Lines: 36