This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.
virtual COLORREF GetMenuItemTextColor(
   CMFCToolBarMenuButton* pButton,
   BOOL bHighlighted,
   BOOL bDisabled
);
Parameters
[in] pButton
[in] bHighlighted
[in] bDisabled
Requirements
Header: afxvisualmanager.h