Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - HOW TO LOAD TOOLBAR FROM DESIGNER
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOW TO LOAD TOOLBAR FROM DESIGNER

 Post Reply Post Reply
Author
Message
stephen_hyc View Drop Down
Newbie
Newbie


Joined: 27 January 2005
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote stephen_hyc Quote  Post ReplyReply Direct Link To This Post Topic: HOW TO LOAD TOOLBAR FROM DESIGNER
    Posted: 03 March 2005 at 2:31am
I want to load a tool bar from designer studio.LoadToolBar doesnt make effective.how can i do?
Back to Top
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Posted: 03 March 2005 at 10:58am
pCommandBars->LoadDesignerBars()

Back to Top
stephen_hyc View Drop Down
Newbie
Newbie


Joined: 27 January 2005
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote stephen_hyc Quote  Post ReplyReply Direct Link To This Post Posted: 03 March 2005 at 6:59pm
The problem is that i just want to load one of the toolbars when i click a button.how can i do?
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: 04 March 2005 at 12:21am

Don't think it is possible. Load all toolbars in startup and make them not visible.

call pToolBar->SetVisible(TRUE); to show it.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
stephen_hyc View Drop Down
Newbie
Newbie


Joined: 27 January 2005
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote stephen_hyc Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2005 at 1:38am
then how to get the pointer:pToolBar
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 March 2005 at 5:20am
CXTPToolBar* CXTPCommandBars::GetToolBar(UINT nID);
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.047 seconds.