Print Page | Close Window

TrackPopupMenu and icons

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=9490
Printed Date: 01 March 2025 at 12:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TrackPopupMenu and icons
Posted By: mgampi
Subject: TrackPopupMenu and icons
Date Posted: 04 February 2008 at 11:00am
Hi;
 
Perhaps a stupid question, but how can I set icons for a menu used in CXTPCommandBars::TrackPopupMenu() when I don't have a corresponding toolbar?
Thanks in advance


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



Replies:
Posted By: Oleg
Date Posted: 05 February 2008 at 12:31am
Hi,
Add them to imagemanager:

XTPImageManager()->SetIcons(..);
 


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


Posted By: mgampi
Date Posted: 05 February 2008 at 6:22am
Hi Oleg;
 
Thanks once again. I just got the wanted results!


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



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