Setting Icons on toolbar |
Post Reply |
Author | |
rdtcgriffin
Newbie Joined: 18 March 2004 Status: Offline Points: 19 |
Post Options
Thanks(0)
Posted: 04 April 2004 at 11:18pm |
Hello. How exactly do you assign icons to toolbars? I checked the MDISample and tried to create a similar project, but my toolbar just have texts and no icons. I read somewhere that you need an XCB file. But how exactly do you make and use it? Any help will be greatly appreciated. Thanks Rommel
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Add them to an images list and assign that imagelist to the
commandbar. Use the AddImageList or AddIconHandle method to add
images. You can read the preliminary documentation for commandbars to
see all of the details. Sounds like you are forgetting to assign the
Tag value in the imagelist, the tag value must be the same value you
assign the control it (or iconId).
|
|
rdtcgriffin
Newbie Joined: 18 March 2004 Status: Offline Points: 19 |
Post Options
Thanks(0)
|
Ah thank you. It was so simple! |
|
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 |