Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » [SOLVED]How I can put an image in a form like a splash screen?? ([SOLVED]How I can put an image in a form like a splash screen??)
Re: How I can put an image in a form like a splash screen?? [message #52689 is a reply to message #52688] Mon, 11 November 2019 12:06 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3437
Registered: August 2008
Senior Veteran
In addition you can embed the image in your exe, using the BRC feature.
You just creat a .brc file that you add to your project, just with this, for example ("MyImages.brc"):
BINARY(MyImage, "myimagefile.jpg")


And in your .cpp code, put this:
#include "MyImages.brc"
...
img = StreamRaster::OpenAny(String(MyImage, MyImage_length));


Best regards
IƱaki

[Updated on: Mon, 11 November 2019 12:07]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to include files .h or .cpp as external library?
Next Topic: How I can load inside Utimate++ RayLib For MacOs And Win?
Goto Forum:
  


Current Time: Mon Jun 02 18:50:26 CEST 2025

Total time taken to generate the page: 0.02983 seconds