Print Page | Close Window

How to add icons to menubar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3340
Printed Date: 11 January 2026 at 1:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to add icons to menubar
Posted By: wuyunpeng
Subject: How to add icons to menubar
Date Posted: 05 December 2005 at 12:24am

If i add toolbar and call LoadToolBar function, then the corresponding icons may apper in my menu bar,i'd like to know how this works.

On the other hand,If thers is no toolbar in my project,then how to add icons to menu item?

thanks.




Replies:
Posted By: Oleg
Date Posted: 05 December 2005 at 12:50am

Hi,

After you load toolbar all icons added to CommandBars ImageManager, you can manually add them:

pCommandBars->GetImageManager()->SetIcons(IDR_RESOURCE );



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