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
MFC Integration with the Windows Transactional File System (TxF)
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.

Services Made Easy
Discover how to easily create and add WIN32 Services in .NET. You’ll also discover the Topshelf toolkit.

Handling Exceptions in Visual Basic
Hannes du Preez shows you how to handle exceptions properly in Visual Basic.

Working with State Machines in the .NET Framework
Arun Karthick introduces you to the state machine model and shows you how to create a simple working state machine sample using the .NET framework in the C# language.