Print Page | Close Window

CTaskPanel Bitmaps

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=387
Printed Date: 23 December 2024 at 7:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CTaskPanel Bitmaps
Posted By: ICBM
Subject: CTaskPanel Bitmaps
Date Posted: 25 January 2004 at 8:14pm

Is it possible to use 32x32 icons instead of 16x16 icons in a CXTPTaskPanel ? I modified the TaskPanel sample application to load a 32x32 bitmap (code snippet below) but the spacing of the html controls is all wrong (screenshot attached). Has the TaskPanel control been hardwired for 16x16 icons/bitmaps ?

m_ilTaskIcons.Create(16, 16, ILC_COLOR32|ILC_MASK, 0, 1);

CBitmap bmp;

bmp.LoadBitmap(IDB_TASKICONS_ALPHA);

to

m_ilTaskIcons.Create(32, 32, ILC_COLOR32|ILC_MASK, 0, 1);

CBitmap bmp;

bmp.LoadBitmap(IDB_FILEICONS_ALPHA);

http://forum.codejock.com/uploads/ICBM/5B6_taskpanel.zip - 5B6_taskpanel.zip




Replies:
Posted By: Oleg
Date Posted: 26 January 2004 at 12:17am
I will send you sample to e-mail

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net