Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - New toolbar question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

New toolbar question

 Post Reply Post Reply
Author
Message
yoavo View Drop Down
Senior Member
Senior Member


Joined: 29 February 2004
Location: Israel
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote yoavo Quote  Post ReplyReply Direct Link To This Post Topic: New toolbar question
    Posted: 10 January 2006 at 11:19am

Hi,

In my application all the toolbars are of type CMyToolbar class (which derives from CXTPToolbar). I need that all the new toolbars that the user creates (in customization->new toolbar) will be from CMyToolbar also.

How can I do it ?

Yoav.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 11 January 2006 at 11:21am

Hello,

In one of last verrsion was added SetToolBarClass method:

pCommandBars->SetToolBarClass(RUNTIME_CLASS(CMyToolbar));

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.109 seconds.