Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - OnCreateControl for docking pane toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

OnCreateControl for docking pane toolbar

 Post Reply Post Reply
Author
Message
spiderM9 View Drop Down
Newbie
Newbie
Avatar

Joined: 21 October 2003
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote spiderM9 Quote  Post ReplyReply Direct Link To This Post Topic: OnCreateControl for docking pane toolbar
    Posted: 23 June 2005 at 2:48pm
OnCreateControl is called for controls in the command bars on my CMainFrame, allowing me to tweak creation of the control, but I'm not sure how to trap control creation when the controls are the buttons of a toolbar that is hosted inside a docking pane.

What is the normal way to provide this customization for these types of command bars?

Xtreme Toolkit Pro 9.10, VC 2003, Windows XP SP2.


Edited by spiderM9
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: 04 July 2005 at 1:58am

Hi,

Only manually call

m_wndToolbar.GetControl(i)->SetStyle(...);

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