![]() |
How can i dynamic add menu iterm |
Post Reply
|
| Author | |
powerlinm
Newbie
Joined: 05 August 2004 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Topic: How can i dynamic add menu itermPosted: 05 August 2004 at 3:59am |
|
I want insert a dynamic menu to File menu, but failt, this is some code i write in CMainFrame::OnCreate, CMenu *pMenuBar1 = pCmdUI->m_pMenu;
that does'nt work, who can tell me how to do!? |
|
![]() |
|
spike
Groupie
Joined: 13 May 2003 Location: United States Status: Offline Points: 48 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 August 2004 at 6:31pm |
|
They have a message specifically for this....something like XT_WM_INITPOPUPMENU or XT_WM_CREATECONTROLS, XT_WM_CREATECOMMANDBAR, something like that. Search through the samples for OnCreateControls or OnInitPopupMenu...
|
|
![]() |
|
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 |