![]() |
Showing icon in CXTPStatusBar pane |
Post Reply
|
| Author | |
rapid
Groupie
Joined: 11 March 2009 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Topic: Showing icon in CXTPStatusBar panePosted: 18 July 2011 at 9:31am |
|
I am creating status bar by subclassing to this XTP class CXTPStatusBar pan.
I want to show icon in one of its pane. I've loaded icon into image list and tried setting something like this: m_wndStatusBar.GetImageManager()->SetImageList(m_il, OBS_XT_LARGEICON); m_wndStatusBar.GetPane(2)->SetIconIndex(0); But the pane is still showing the text only. Do I need to change its style to something, any example code in samples.. Thanks in advance... |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 July 2011 at 1:47am |
|
Hi,
Instead SetImageList, use SetIcons - SetIcons::(CImageList& imlIcons, UINT* pCommands, int nCount, CSize szIcon, XTPImageState imageState) |
|
|
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 |