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 CodeGuru Developer Columns
C++ Exception Handling: How to Handle Exceptions in C++
Learn to implement exception handling mechanism in C++.

TypeScript for the C# Developer
Learn about TypeScript: what it is, and its type system.

Detecting a Touchscreen in Visual Basic
Learn how to detect if a touchscreen is available on the device running your application. You'll also see how to display a touch-enabled keyboard!
Using C# 7 Pattern Matching
Take advantage of pattern matching to check for patterns in your code, improve performance, and simplify your code.






