home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!newsserver.jvnc.net!primerd.prime.com!eriador!mguyott
- From: mguyott@eriador.prime.com (M. Guyott)
- Subject: Re: Child window with a menu?
- Message-ID: <1993Jan22.185209.17560@primerd.prime.com>
- Sender: usenet@primerd.prime.com (Usenet)
- Organization: /etc/organization
- References: <23365.9301221040@thor.cf.ac.uk>
- Date: Fri, 22 Jan 1993 18:52:09 GMT
- Lines: 21
-
- In article <23365.9301221040@thor.cf.ac.uk> spxsjm@thor.cf.ac.uk (Mr S J Morris 92) writes:
- >Is there a way of combining windows style constants so as to give a menu
- >with a child window? From what I can see by experimenting with the ws_
- >style constants, the only way of obtaining a menu is to define a style
- >containing ws_Popup, and yet ws_Popup may not be used with ws_Child.
-
- Have you tried creating your child window and then using LoadMenu() and
- SetMenu() in the WM_CREATE message processing code?
-
- I have never tried this but it may do want you want. Then again it may
- not. Let me know if it works for you!
-
- Marc
- ----
- Two of the worst things we teach our children are that a knowledge of science
- is nice but not necessary, and a knowledge of sex is necessary but not nice.
-
- Marc Guyott Constellation Software, Inc. (508) 620-2800
- Framingham, Mass. 01701 USA Ext. 3135
- mguyott@primerd.prime.com ...!{uunet, decwrl}!primerd.prime.com!mguyott
- mguyott@eriador.prime.com ...!{uunet, decwrl}!eriador.prime.com!mguyott
-