![]() |
Loading menubar |
Post Reply
|
| Author | |
venkyhyd
Groupie
Joined: 29 June 2006 Location: India Status: Offline Points: 70 |
Post Options
Thanks(0)
Quote Reply
Topic: Loading menubarPosted: 18 July 2006 at 5:19am |
|
Hi,
Can we give menubar Id or handle to the CXTPCommandBars after calling CMainFrame::OnCreate. As I could see that the MenuBar is set using the SetMenu function in OnCreate. But here in my application the MenuBar is created at very later stage of the application instantiation. thnks |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 July 2006 at 8:33am |
|
Hello,
You can call SetMenu when you want.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
venkyhyd
Groupie
Joined: 29 June 2006 Location: India Status: Offline Points: 70 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 July 2006 at 9:59am |
|
The Menubar can be set at any place in the Runtime or is that like i should only set to the Commandbars in OnCreate Only.
Can I change bitmaps on the menubar or on the toolbar at runtime. That is replacing already existing Bitmaps with the new onces. |
|
![]() |
|
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 July 2006 at 10:42am |
GetCommandBars()->GetImageManager()->SetIcons (...)
|
|
|
Codejock support
|
|
![]() |
|
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 |