Print Page | Close Window

About icon of command

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=3335
Printed Date: 11 January 2026 at 1:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: About icon of command
Posted By: wuyunpeng
Subject: About icon of command
Date Posted: 02 December 2005 at 9:04pm

I made one bitmap(contain 24 bit color) for every command,and put the bitmaps into a dll file.

so how can i use these bitmaps for my menu bar and toolbars?

thanks.




Replies:
Posted By: Oleg
Date Posted: 03 December 2005 at 4:08am

1. Load it as bitmap;

::LoadImage(hinst, ...);

2. Set Icons using

pCommandBars->GetImageManager()->SetIcons(bmp, pCommands, nCount, szIcon);



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