![]() |
Dynamically creating toolbar with images |
Post Reply ![]() |
Author | ||
danpetitt ![]() Senior Member ![]() Joined: 17 July 2005 Location: United Kingdom Status: Offline Points: 109 |
![]() ![]() ![]() ![]() ![]() Posted: 23 March 2010 at 3:16pm |
|
I am creating a plugin system for my app and one of the things is for the plugin to be able to specify the buttons on a toolbar with caption and images.
What I need to know is how do I load a toolbar control with an image from a file?
So with the above example I was looking for something like:
|
||
![]() |
||
danpetitt ![]() Senior Member ![]() Joined: 17 July 2005 Location: United Kingdom Status: Offline Points: 109 |
![]() ![]() ![]() ![]() ![]() |
|
I have got it I think:
Seems to work okay. But do I need to free or release this bitmap at all? |
||
![]() |
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 |