![]() |
Icons with black background |
Post Reply
|
| Author | |
Hayder
Newbie
Joined: 06 May 2006 Location: Russian Federation Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: Icons with black backgroundPosted: 05 June 2006 at 8:58am |
|
Hello, I use CXTPControl::SetCustomIcon (in an example similar to DynamicPopups - CControlUndo). CXTPControl* pControl = m_pControls->Add(xtpControlButton, FIRST_FAVORITES_COMMAND + i, _T(""), m_nIndex + 1 +i, TRUE); I receive a black background on icons at established style XP or Office XP.In Office 2003 and Widbey's style everything is all right. It is possible to correct it?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 June 2006 at 5:59pm |
|
Hi, call XTPPaintManager()->GetIconsInfo()->bUseFadedIcons = FALSE;
after you change theme
ps. to avoid resource leak, you also must call DestroyIcon(hIcon) after CImageList::ExtractIcon... |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Hayder
Newbie
Joined: 06 May 2006 Location: Russian Federation Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 June 2006 at 12:05am |
|
Thank you very much! I had solved all my problems. |
|
![]() |
|
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 |