Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Toolbars images size
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Toolbars images size

 Post Reply Post Reply
Author
Message
yoavo View Drop Down
Senior Member
Senior Member


Joined: 29 February 2004
Location: Israel
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote yoavo Quote  Post ReplyReply Direct Link To This Post Topic: Toolbars images size
    Posted: 29 February 2004 at 10:26am

Hi,

Does Xtreme toolbars support icons with size of 24X24 ?

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2004 at 12:00pm
Yes it does.  There is a CommandBar method called SetIconSize that will do this for you.
Back to Top
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 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



Edited by ICBM
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.188 seconds.