home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5479 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.7 KB  |  35 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!ukma!gatech!purdue!yuma!longs.LANCE.ColoState.Edu!bb760597
  3. From: bb760597@longs.LANCE.ColoState.Edu (Blake Buhlig)
  4. Subject: HELP: Having difficulty changing Menus in an MDI Application
  5. Message-ID: <Jan28.230517.82053@yuma.ACNS.ColoState.EDU>
  6. Sender: news@yuma.ACNS.ColoState.EDU (News Account)
  7. Date: Thu, 28 Jan 1993 23:05:17 GMT
  8. Reply-To: bb760597@longs.LANCE.ColoState.Edu (Blake Buhlig)
  9. Nntp-Posting-Host: blanca.lance.colostate.edu
  10. Organization: Colorado State University, Fort Collins, CO  80523
  11. Keywords: MDI, OWL, Menus
  12. Lines: 21
  13.  
  14. I'm using BC++ 3.1 with OWL, and I am trying to find some way to change the
  15. menu in an MDI application that allows Windows to recognize the new position
  16. of the Child Window submenu.  I have tried and failed with the OWL
  17. TWindow::AssignMenu function, the WM_SETMDIMENU message, the combination of
  18. the two, etc....
  19.  
  20. I have been rummaging through the OWL source code, and I noticed that the
  21. ChildMenuPos variable that is specified in the constructor of a TMDIFrame
  22. descendant, is passed to the CreateWindow API Function, and is not used
  23. again during the life of the window.  I hope there is way to switch MDI 
  24. menus without destroying and recreating the window!
  25.  
  26. Any suggestions would be appreciated via E-mail.  I will forward or repost
  27. answers if anyone is interested. 
  28.  
  29.  
  30. --
  31. -------------------------------------------------------------------------------
  32.  Blake Buhlig                                        Colorado State University
  33.  bb760597@longs.LANCE.ColoState.Edu            Electrical/Computer Engineering
  34. -------------------------------------------------------------------------------
  35.