![]() |
adding an icon to a docking pane |
Post Reply ![]() |
Author | |
vjedlicka ![]() Senior Member ![]() Joined: 04 September 2007 Status: Offline Points: 122 |
![]() ![]() ![]() ![]() ![]() Posted: 24 February 2008 at 4:09pm |
Hello,
I am trying to add an icon to a docking pane.
I created a toolbar with the icon IDS_PANE_GROUPS_ELEMS.
When I click the icon, the pane shows up, but without the icon.
code fragment:
CXTPDockingPane* pwndPane3 = m_paneManager.CreatePane(IDS_PANE_GROUPS_ELEMS, CRect(0, 0,200, 120), xtpPaneDockLeft);
pwndPane3->SetIconID(IDS_PANE_GROUPS_ELEMS); Thanks for advice
Vaclav
|
|
Thank you
Vaclav --------------------- ToolkitPro 20.1.0 VS2010-2022, Windows 11 |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Need to add this IDS_PANE_GROUPS_ELEMS to ImageManager of DockingPanes:
m_paneManager.GetImageManager()->SetIcon(IDS_PANE_GROUPS_ELEMS , IDS_PANE_GROUPS_ELEMS);
|
|
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 |