Print Page | Close Window

LoadBitmapFromResource Problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=9964
Printed Date: 21 November 2024 at 2:56pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: LoadBitmapFromResource Problem
Posted By: Ahhh
Subject: LoadBitmapFromResource Problem
Date Posted: 26 March 2008 at 7:10am
Hi,
I'm studying Xtreme SuitePro now.
In RibbonMDI Sample, they import png files from external source.
I want use internal resources, more exactly, by using LoadBitmapFromResource not LoadBitmap.
But I can't give second parameter to this function.
How can I get ID from resource files.


If you can, give me sample code for this function.
I always thank you for your help!

regards.



Replies:
Posted By: Ahhh
Date Posted: 26 March 2008 at 7:13am
One is missied.
I want it in C# project.
Thanks!!!


Posted By: Oleg
Date Posted: 26 March 2008 at 12:52pm
Hi,
 
Add ImageManager control and load all icons to it in designtime


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Ahhh
Date Posted: 30 March 2008 at 11:39pm
How can I add external files to ImageManager?
I want sample codes for it.


Posted By: Ahhh
Date Posted: 30 March 2008 at 11:57pm
Sorry, Because I can't use Design View in my project.
And I hate copy compiled data into XML file.
So, I want load image files in running time.
Give me your help.
Thanks.


Posted By: Oleg
Date Posted: 31 March 2008 at 1:08am

???

in first message you asked how to load from resources now how to load from extenal files in running time. So what do you need ?


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