home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4745 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.0 KB  |  28 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!cs.utexas.edu!wotan.compaq.com!twisto.eng.hou.compaq.com!sword.eng.hou.compaq.com!mccreary
  3. From: mccreary@sword.eng.hou.compaq.com (Ed McCreary)
  4. Subject: Re: Menu Problem
  5. Message-ID: <1993Jan8.145248.6935@twisto.eng.hou.compaq.com>
  6. Sender: news@twisto.eng.hou.compaq.com (Netnews Account)
  7. Organization: Compaq Computer Corp.
  8. References: <1ij6qmINN3hr@matt.ksu.ksu.edu>
  9. Date: Fri, 8 Jan 1993 14:52:48 GMT
  10. Lines: 16
  11.  
  12. In article <1ij6qmINN3hr@matt.ksu.ksu.edu> lssong@matt.ksu.ksu.edu (Livingstone Song) writes:
  13. >Is there a way to find when the menu gets the focus?
  14. >
  15. >What's the easiest way implement a code that will tell
  16. >me which menu item is currently being highlited either
  17. >by the mouse or keyboard.
  18. >
  19.  
  20. Look at WM_MENUSELECT and WM_MENUINIT.  Those two messages should tell
  21. you all you need to know.
  22.  
  23.  
  24. --
  25. Ed McCreary                                               ,__o
  26. mccreary@sword.eng.hou.compaq.com                       _-\_<,
  27. "If it were not for laughter, there would be no Tao."  (*)/'(*)
  28.