Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CTaskPanel Bitmaps
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CTaskPanel Bitmaps

 Post Reply Post Reply
Author
Message
ICBM View Drop Down
Groupie
Groupie


Joined: 15 January 2004
Location: New Zealand
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote ICBM Quote  Post ReplyReply Direct Link To This Post Topic: CTaskPanel Bitmaps
    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);

5B6_taskpanel.zip

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 26 January 2004 at 12:17am
I will send you sample to e-mail
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.