![]() |
About icon of command |
Post Reply
|
| Author | |
wuyunpeng
Newbie
Joined: 01 December 2005 Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Topic: About icon of commandPosted: 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. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |