Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - SetIconId request
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SetIconId request

 Post Reply Post Reply
Author
Message
adrien View Drop Down
Senior Member
Senior Member


Joined: 30 April 2007
Location: New Zealand
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrien Quote  Post ReplyReply Direct Link To This Post Topic: SetIconId request
    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.
 
 
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: 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
Back to Top
adrien View Drop Down
Senior Member
Senior Member


Joined: 30 April 2007
Location: New Zealand
Status: Offline
Points: 449
Post Options Post Options   Thanks (0) Thanks(0)   Quote adrien Quote  Post ReplyReply Direct Link To This Post Posted: 03 March 2008 at 6:09pm
?
 
it's too late already, since SetIconId already called RedrawParent(TRUE).
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.140 seconds.