Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleMake an owner drawn menu using non-standard fonts and items that are bold, underlined, and italic.
Description
Keywordsowner draw menus, custom menus, bold, underline, italic
CategoriesControls, Software Engineering
 
Thanks to Bi Hai.

Create a new WindowProc and watch for the menu messages. When you see WM_DRAWITEM, draw the menu item. When you see WM_MEASUREITEM, return the size needed by the item. When you see WM_COMMAND, execute whatever code you need for the selected menu item. See the code for all of the details.

 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated