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
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.
LINQ is not only for database access; it’s useful in all manner of scenarios. Read this quick refresher to learn more.
Discover how versatile and easy User Controls are to develop with VB.
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.