Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Need to SetMenu Dynamically...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Need to SetMenu Dynamically...

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


Joined: 05 September 2007
Status: Offline
Points: 51
Post Options Post Options   Thanks (0) Thanks(0)   Quote hikaroute Quote  Post ReplyReply Direct Link To This Post Topic: Need to SetMenu Dynamically...
    Posted: 05 September 2007 at 10:20am
I build my own application with your Xtreme Toolkit Pro, everything is very good.  But I have my own menubar that is not the ID from the resources, I make it from the menu file.
 
I ever use the other UI theme with my app, the other can create the menubar and it can get the menubar I created before.  Then I need to know this menubar can get the menubar I created before?  or I can only load the menubar from the resource?
 
Thank you.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2007 at 2:26pm
Hello,
 
You can call pMenuBar->LoadMenu(pMenu);
to convert controls from CMenu.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.066 seconds.