Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - LoadBitmapFromResource Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

LoadBitmapFromResource Problem

 Post Reply Post Reply
Author
Message
Ahhh View Drop Down
Newbie
Newbie


Joined: 05 March 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ahhh Quote  Post ReplyReply Direct Link To This Post Topic: LoadBitmapFromResource Problem
    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.
Back to Top
Ahhh View Drop Down
Newbie
Newbie


Joined: 05 March 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ahhh Quote  Post ReplyReply Direct Link To This Post Posted: 26 March 2008 at 7:13am
One is missied.
I want it in C# project.
Thanks!!!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Ahhh View Drop Down
Newbie
Newbie


Joined: 05 March 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ahhh Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2008 at 11:39pm
How can I add external files to ImageManager?
I want sample codes for it.
Back to Top
Ahhh View Drop Down
Newbie
Newbie


Joined: 05 March 2008
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ahhh Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.