Print Page | Close Window

Set the color of the color picker button

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1624
Printed Date: 07 November 2025 at 4:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Set the color of the color picker button
Posted By: morovia
Subject: Set the color of the color picker button
Date Posted: 05 January 2005 at 6:26pm

Hi,

I added a color picker drop down button using the following source:

m_wndToolBar.AddDropDownButton( ID_PICK_COLOR, RGB( 0x00, 0x00, 0xff ), RGB( 0x00, 0x00, 0x00 ),

CPS_XT_EXTENDED | CPS_XT_MORECOLORS, TRUE, TRUE );

It works fine. However, I need to change the color displayed everytime I load a new document. How to do it programatically?




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