Article View: comp.windows.ms.programmer
Article #2335Re: Menus in dialogs
From: David Weinstein
Date: Sat, 27 Apr 1991 19:28
Date: Sat, 27 Apr 1991 19:28
37 lines
1855 bytes
1855 bytes
In article <71984@microsoft.UUCP> roberth@microsoft.UUCP (Robert HESS) writes:
#
#
#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.
SDK Reference Volume 2:
dtMenuName[] Specifies a null-terminated string that specifies
the name of the dialog box's menu. If this field
is NULL, the dialog-box window does not have a menu.
(page 7-33)
Now this looks awfully "supported" to me (although I will agree with you
that the default Dialog Window Proc doesn't handle the Menu as fully as
I'd like). As for maintaining a consistent look/feel across various
Windows Apps, if it looks like a popup window, and it acts like a popup
window, the end-users don't care *how* I implement it....
--Dave
--
Dave Weinstein Internet: dweinste@isis.cs.du.edu
Disclaimer: You aren't serious, are you? dweinste@gnu.ai.mit.edu
In the beginning, there was nothing. And God said, "Let there be Light."
And there was still nothing. But, you could see it.
Technical Details
Message-ID:
<15360@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!snorkelwacker.mit.edu!ai-lab!wookumz.gnu.ai.mit.edu!dweinsteReferences:
<5542@eastapps.East.Sun.COM> <71984@microsoft.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!snorkelwacker.mit.edu!ai-lab!wookumz.gnu.ai.mit.edu!dweinste From: dweinste@wookumz.gnu.ai.mit.edu (David Weinstein) Newsgroups: comp.windows.ms.programmer Subject: Re: Menus in dialogs Message-ID: <15360@life.ai.mit.edu> Date: 27 Apr 91 19:28:16 GMT References: <5542@eastapps.East.Sun.COM> <71984@microsoft.UUCP> Sender: news@ai.mit.edu Organization: Chaos under Glass Lines: 37