Print Page | Close Window

OnCreateControl for docking pane toolbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=2443
Printed Date: 27 April 2024 at 1:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: OnCreateControl for docking pane toolbar
Posted By: spiderM9
Subject: OnCreateControl for docking pane toolbar
Date 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.



Replies:
Posted By: Oleg
Date Posted: 04 July 2005 at 1:58am

Hi,

Only manually call

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



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net