Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - CXTMenuListBox Icon size
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTMenuListBox Icon size

 Post Reply Post Reply
Author
Message
mattrmiller View Drop Down
Newbie
Newbie


Joined: 29 November 2006
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote mattrmiller Quote  Post ReplyReply Direct Link To This Post Topic: CXTMenuListBox Icon size
    Posted: 07 February 2008 at 3:04pm
Any way to change the size of the icon used for a CXTMenuListBox, say to 48x48?
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: 08 February 2008 at 1:31am
Try
list.GetTheme()->m_cxIcon = 48;
list.GetTheme()->m_cyIcon = 48;
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mattrmiller View Drop Down
Newbie
Newbie


Joined: 29 November 2006
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote mattrmiller Quote  Post ReplyReply Direct Link To This Post Posted: 08 February 2008 at 11:22am
Compile error.

use of undefined type 'CXTMenuListBoxTheme'



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: 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
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.172 seconds.