Print Page | Close Window

HOWTO set user defined icons as command link icons

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=9320
Printed Date: 14 November 2025 at 7:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HOWTO set user defined icons as command link icons
Posted By: mgampi
Subject: HOWTO set user defined icons as command link icons
Date Posted: 16 January 2008 at 6:08am
Hi;
I want to change the default green arrow for command link enabled buttuns within the task dialog to user defined icons.
Is this possible? How?


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



Replies:
Posted By: Oleg
Date Posted: 16 January 2008 at 9:46am
Hello,
 
you can do it in our version of TaskDialog (not Vista native)
 
override OnDialogConstructed, find pointer to CXTButton (m_arrLinkButtons)
use pButton->SetIcon(sizeGlyph, pIconLinkGlyph); to set icon you need.


-------------
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