Print Page | Close Window

Menu 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=1415
Printed Date: 17 May 2024 at 10:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Menu Icons
Posted By: zagames
Subject: Menu Icons
Date Posted: 15 November 2004 at 11:43am
How can i display icons with menu items with having a toolbar and also how can i display icon in my popup menus.  Using visual Studio 2003



Replies:
Posted By: markr
Date Posted: 25 March 2005 at 8:32pm
I have the same question. I'd like to display a context popup menu with icons that don't exist in a toolbar anywhere. I'd like to use either an image list or direct HICON handles - either way would work for me.

Is this possible?



Posted By: Oleg
Date Posted: 27 March 2005 at 2:56am

First, you need to add all icons you want to CXTPImageManager:

pCommandBars->GetImageManager()->SetIcons/SetIcon

Second, is show PopupBar:

CXTPCommandBars::TrackPopupMenu.



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


Posted By: markr
Date Posted: 27 March 2005 at 9:32am
Thanks, Oleg... that did the trick perfectly.




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