![]() |
how to have PNG file on CXTPControlStatic control? |
Post Reply
|
| Author | |
Pariksh*t
Groupie
Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
Quote Reply
Topic: how to have PNG file on CXTPControlStatic control?Posted: 29 April 2009 at 7:11am |
|
hi,
how to have PNG file on CXTPControlStatic control? i tried this code which is not working CXTPControlStatic* pControlListBoxInfo = (CXTPControlStatic*)pGroup->Add(new CXTPControlStatic(), ID_GALLERY_UNDO); pControlListBoxInfo->SetWidth(40); pControlListBoxInfo->SetHeight(30); pControlListBoxInfo->SetFlags(xtpFlagSkipFocus); pControlListBoxInfo->SetIconId(IDB_GEAR); // IDB_GEAR ID of PNG |
|
![]() |
|
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 April 2009 at 8:56am |
|
Markup? Not sure if CXTPControlStatic supports markup.
|
|
|
Codejock support
|
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 April 2009 at 10:22am |
|
C:\Program Files\Codejock Software\MFC\Xtreme ToolkitPro v13.0.0\Samples\ToolkitPro\MarkupSample\MarkupStatic.cpp
...
|
|
|
PokerMemento - http://www.pokermemento.com/
|
|
![]() |
|
Pariksh*t
Groupie
Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 April 2009 at 10:57pm |
|
thanx for the reply
i want to have PNG file on static control in ribbonbar... |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 April 2009 at 2:12am |
|
Hi,
Check last Tab in Samples\Ribbon\RibbonControls .
|
|
|
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 |