Print Page | Close Window

SetIconId request

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=9771
Printed Date: 03 July 2024 at 8:48am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SetIconId request
Posted By: adrien
Subject: SetIconId request
Date Posted: 03 March 2008 at 2:39am
Hi
 
Please in next version allow user to set whether or not to use animation in
 
void CXTPControl::SetIconId(int nId)
e.g. change it to
 
void CXTPControl::SetIconId(int nId, BOOL bAnimate = TRUE);
 
Animating your own icon is impossible if you can't disable the XT animation.
 
Thanks.
 
 



Replies:
Posted By: Oleg
Date Posted: 03 March 2008 at 10:20am
Hi,
Just call pControl->RedrawParent(FALSE); after you change icon to disable animation of this button.


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


Posted By: adrien
Date Posted: 03 March 2008 at 6:09pm
?
 
it's too late already, since SetIconId already called RedrawParent(TRUE).



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