![]() |
Returning a HMenu of the command bar |
Post Reply ![]() |
Author | ||||
guywmustang ![]() Newbie ![]() Joined: 17 April 2006 Status: Offline Points: 20 |
![]() ![]() ![]() ![]() ![]() Posted: 15 May 2007 at 5:22pm |
|||
I have my code creating the command bars using the following code:
I need to get a HMenu of the menu bars, similar to as if I used:
or
I have tried the following to no avail:
Does anyone know how I can get the HMENU of my menu for my app??? I'm at a complete loss. ![]() |
||||
![]() |
||||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
|||
Hi,
You can't get it. MenuBar doesn't use HMENU.
You have to call CXTPControls methods to add/remove/modify items to menu.
pMenuBar->GetControls()->Add(...)
etc
|
||||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||||
![]() |
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 |