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   |
 |
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
|
|
|
Goto Forum:
Current Time: Mon Jun 02 18:50:26 CEST 2025
Total time taken to generate the page: 0.02983 seconds
|