Print Page | Close Window

CXTMenuListBox Icon size

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=9525
Printed Date: 28 May 2024 at 4:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTMenuListBox Icon size
Posted By: mattrmiller
Subject: CXTMenuListBox Icon size
Date Posted: 07 February 2008 at 3:04pm
Any way to change the size of the icon used for a CXTMenuListBox, say to 48x48?



Replies:
Posted By: Oleg
Date Posted: 08 February 2008 at 1:31am
Try
list.GetTheme()->m_cxIcon = 48;
list.GetTheme()->m_cyIcon = 48;


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


Posted By: mattrmiller
Date Posted: 08 February 2008 at 11:22am
Compile error.

use of undefined type 'CXTMenuListBoxTheme'





Posted By: Oleg
Date Posted: 08 February 2008 at 2:41pm
Hi,
please add
 
#include "Controls\XTMenuListBoxTheme.h" in the beginning of this cpp file.
 
but actually I very recommend use CXTPTaaskPanel instead. CXTMenuListBox is very old class.


-------------
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