Print Page | Close Window

How to use 18*19 ICON in menus??

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Visual C++ MFC
Forum Description: Topics related to Codejock Visual C++ MFC products
URL: http://forum.codejock.com/forum_posts.asp?TID=14835
Printed Date: 24 November 2024 at 9:17am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to use 18*19 ICON in menus??
Posted By: talrasha007
Subject: How to use 18*19 ICON in menus??
Date Posted: 26 July 2009 at 1:02pm
The toolbar icons' size is 18*19, when it display on menus, the icon will be stretched to 16*16. it's ugly, how to solve this problem?



Replies:
Posted By: Oleg
Date Posted: 27 July 2009 at 4:48am
Hi,

Set size with pCommandBars->GetCommandBarsOptions()->szPopupIcons = CSize(18, 19);


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


Posted By: talrasha007
Date Posted: 30 July 2009 at 2:29am
Thanks, u r so nice~~~~



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