![]() |
How to Change menu item text |
Post Reply ![]() |
Author | |
DPDP ![]() Newbie ![]() Joined: 25 August 2005 Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() Posted: 20 January 2006 at 6:42pm |
I used to be able to get the CFrameWnd's menu, and change one menu item text from "ABC" to "XYX" as follows CMenu* pMenu = GetMenu(); How should I do using CXTPCommandBars? Thanks, |
|
![]() |
|
Raj.krishnan ![]() Groupie ![]() ![]() Joined: 16 January 2006 Status: Offline Points: 44 |
![]() ![]() ![]() ![]() ![]() |
Hi, You need to handle it on ON_UPDATE_COMMAND_UI message for the particlar menu item CCmdUI *pCmdUI will come in this message as argument set the text using pCmdUI->SetText(CString); |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |