Re: Ticks not initially appearing on view menu items
From: TVR Fan (nosuch_at_address.com)
Date: 04/30/04
- Next message: murlidhar agnihotri: "Copying of MFC resource"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Apr 2004 09:46:40 +0100
> MFC has a built in infrastructure for managing menu and toolbar state.
> This infrastructure will interfere with your efforts to directly control
> the CMenu. Remove your CMenu code.
>
> Add a message handler for UPDATE_COMMAND_UI associated with the menu
> item. Put something like this in the function:
>
> pCmdUI->SetCheck(m_bSorted);
Aha! Thanks.
--- Al.
- Next message: murlidhar agnihotri: "Copying of MFC resource"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|