Article View: comp.os.ms-windows.programmer.misc
Article #2431HELP: Having difficulty changing Menus in an MDI Application
From: Blake Buhlig
Date: Thu, 28 Jan 1993 23:05
Date: Thu, 28 Jan 1993 23:05
21 lines
1730 bytes
1730 bytes
I'm using BC++ 3.1 with OWL, and I am trying to find some way to change the menu in an MDI application that allows Windows to recognize the new position of the Child Window submenu. I have tried and failed with the OWL TWindow::AssignMenu function, the WM_SETMDIMENU message, the combination of the two, etc.... I have been rummaging through the OWL source code, and I noticed that the ChildMenuPos variable that is specified in the constructor of a TMDIFrame descendant, is passed to the CreateWindow API Function, and is not used again during the life of the window. I hope there is way to switch MDI menus without destroying and recreating the window! Any suggestions would be appreciated via E-mail. I will forward or repost answers if anyone is interested. -- ------------------------------------------------------------------------------- Blake Buhlig Colorado State University bb760597@longs.LANCE.ColoState.Edu Electrical/Computer Engineering -------------------------------------------------------------------------------
Technical Details
Message-ID:
<Jan28.230517.82053@yuma.ACNS.ColoState.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!ukma!gatech!purdue!yuma!longs.LANCE.ColoState.Edu!bb760597Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!gatech!purdue!yuma!longs.LANCE.ColoState.Edu!bb760597 From: bb760597@longs.LANCE.ColoState.Edu (Blake Buhlig) Subject: HELP: Having difficulty changing Menus in an MDI Application Message-ID: <Jan28.230517.82053@yuma.ACNS.ColoState.EDU> Sender: news@yuma.ACNS.ColoState.EDU (News Account) Date: Thu, 28 Jan 1993 23:05:17 GMT Reply-To: bb760597@longs.LANCE.ColoState.Edu (Blake Buhlig) Nntp-Posting-Host: blanca.lance.colostate.edu Organization: Colorado State University, Fort Collins, CO 80523 Keywords: MDI, OWL, Menus Lines: 21