Due to a restriction in the Win32 APIs, submenu arrows are always drawn, and always drawn enabled in owner drawn menus. Learn about a workaround for this situation.
Latest Miscellaneous Articles
Dynamic Items
Sample code that shows you how to dynamically add to and handle items on a menu. (The article was updated.)
Implementing Tooltips for Menus
Illustrates how to implement tooltips for menus by overriding some key CMainFrame functions
Merging Two Menus
Merging Two Menus
MRU list in a submenu: the MFC bug and how to correct it
an explanation about the MFC bug that prevents the MRU items to appear in a submenu and the fix.
Using MRU on submenu
Using MRU on submenu
Latest Developer Videos
More...Latest CodeGuru Developer Columns
C++ Tips and Tricks
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.

XML-XSD Parsing Refresher
Learn to use XSD, something that's built into Visual Studio, and makes handling XML data child's play.

Making Use of SQL Variables
Learn about SQL Variables and how to use them from Visual Basic.
The Top Challenge for Developers is...
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!