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
Sample code that shows you how to dynamically add to and handle items on a menu. (The article was updated.)
Illustrates how to implement tooltips for menus by overriding some key CMainFrame functions
Merging Two Menus
an explanation about the MFC bug that prevents the MRU items to appear in a submenu and the fix.
Using MRU on submenu
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
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.
Using output caching is now much easier to use, thanks to .NET 4 and higher, and also can be used in a traditional application.
Learn more about sub queries and sub queries, and, more importantly, how to use them with Visual Basic.
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!