Sign in to follow this  
wicked357

loading files from resource file C++

Recommended Posts

I am looking at creating a Windows Forms Application in C++, and adding a .jpg to the resource file (which I know how to do), then loading it and setting it as a background, this way all the files are built into the .exe file instead of having a folder outside of the application. Anyone able to point me in the right direction or tell me how I can make a resource as background in my code, I think I would do something like, this->BackgroundImage.FromFile(<resource code here>, <boolean not sure about>);

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this