![]() |
Trouble with an icon size in CXTPTaskPanel |
Post Reply ![]() |
Author | |
debugx ![]() Groupie ![]() ![]() Joined: 23 June 2008 Location: Andorra Status: Offline Points: 28 |
![]() ![]() ![]() ![]() ![]() Posted: 10 September 2008 at 11:18am |
Hello All,
I have MFC project with task panel on my form. I filled my task panel with appropriate tasks. Now I want that the task panel group headers have icon size 16px, group items 32px. I use this way: CImageList pImList; pImList.Create(32, 32, ILC_COLOR32|ILC_MASK, 0, 1); ... m_taskPanel.GetImageManager()->SetIcons(pImList, 0, 0, CSize(32, 32)); m_taskPanel.SetIconSize(CSize(32, 32)); m_taskPanel.SetGroupIconSize(CSize(16, 16)); But group headers always have icon size 32 px as group items. Please tell me how can I set icon size for group headers 16px but for group items 32 px. Thanks. |
|
"Один законник с портфелем в рукаm
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Code looks right. Have to work. Check maybe you reset size later. try to trace CXTPTaskPanelPaintManager::DrawGroupCaption method.
|
|
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 |