![]() |
Icon effects |
Post Reply ![]() |
Author | |
gmail ![]() Groupie ![]() Joined: 24 February 2008 Status: Offline Points: 45 |
![]() ![]() ![]() ![]() ![]() Posted: 05 January 2009 at 3:51pm |
Your CXTPCommandBars have the following cool effect on icons:
XTP_COMMANDBARS_ICONSINFO* pIconsInfo=XTPPaintManager()->GetIconsInfo(); pIconsInfo->bUseDisabledIcons=TRUE; pIconsInfo->bIconsWithShadow=TRUE; pIconsInfo->bUseFadedIcons=TRUE; I'm wondering how can I achieve this effect on some other icon regardless of CXTPCommandBars (i.e. CStatic icon object)? I've checked CXTPDrawHelpers and CXTPImageManager but can't seem to achieve this with those drawing helper classes. Please help! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
You can call XTPPaintManager()->DrawImage(...) to draw it with current style.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |