Print Page | Close Window

Toolbars images size

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=481
Printed Date: 29 September 2024 at 12:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Toolbars images size
Posted By: yoavo
Subject: Toolbars images size
Date Posted: 29 February 2004 at 10:26am

Hi,

Does Xtreme toolbars support icons with size of 24X24 ?




Replies:
Posted By: SuperMario
Date Posted: 29 February 2004 at 12:00pm
Yes it does.  There is a CommandBar method called SetIconSize that will do this for you.


Posted By: ICBM
Date Posted: 25 April 2004 at 11:47pm

Hi

I have a 24x24 image list and a 16x16 imagelist. I want to use the 16x16 for the icons on the menus, but the 24x24 as the icons for the toolbar. I am using

CSize theSize(16,16);
XTPImageManager()->SetIcon(hIcon, CommandId, theSize, xtpImageNormal, TRUE);

to set the icon image, preceeded by a call to SetIconSize as per the earlier message in this thread. However, this sets both the menu and the toolbar icon. How can I achieve my goal ? I don't want to use the same imagelist for both, because the 24x24 are specifically drawn at that size (and have more detail), and the 16x16 are drawn specifically for their size too (and have less detail).

Thanks




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