Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Delete Menu
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Delete Menu

 Post Reply Post Reply
Author
Message
Ocrana View Drop Down
Groupie
Groupie


Joined: 20 November 2007
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ocrana Quote  Post ReplyReply Direct Link To This Post Topic: Delete Menu
    Posted: 14 July 2012 at 5:57pm
Hello,

I use a menu from resource. I load it to a commandbar with:
CXTPMenuBar* pMenuBar = pCommandBars->SetMenu(_T("Menu Bar"), IDR_MAINDIALOG);

How can I dynamic edit the mneu? Like with a feature i want to delete the whole PopupMneu with its parent. BUt I just found a mthod to remove all childs from menu topic.
How can I delete a topic7Parent?

Ingo
Back to Top
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 867
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Posted: 01 February 2013 at 5:56pm
Sometimes I use a CMenu and call LoadMenu. Then I modify the menu. Then I call the CJ LoadMenu API.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.