Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>hilitemenuitem</b> highlight or unhighlight a top-level menu item http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
HiliteMenuItem       Highlight or Unhighlight A Top-level Menu Item

BOOL HiliteMenuItem(hWnd, hMenu, wIDHiliteItem, wHilite)
HWND hWnd;
HMENU hMenu;
WORD wIDHiliteItem; /* Menu Item ID or position */
WORD wHilite;

        wHilite
|----------------------------------------------------------------------|
| MF_BYCOMMAND      wIDHiliteItem is menu item to be changed. (default)|
| MF_BYPOSITION     wIDHiliteItem is position of item to be changed.   |
|         |'d with one of:                                             |
| MF_HILITE         Highlights Item                                    |
| MF_UNHILITE       UnHighlights Item                                  |
+----------------------------------------------------------------------+

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson