U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » Image Ctrl How To Add It??? (How to add an Image To My Project In Layer Design? Is It Possible?)
Re: Image Ctrl How To Add It??? [message #52025 is a reply to message #52024] Sun, 07 July 2019 16:48 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3460
Registered: August 2008
Senior Veteran
Hi Lestroso

With StaticImage, you can use function Set(), in two versions:
- bool StaticImage::Set(String fileName): // You open a bitmap filename
- bool StaticImage::Set(Image image); // You open an Image

You have to do that in the code, for example, in a callback function after pushing a button.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] Invalid memory access on ImageDraw::Init (X11)
Next Topic: How i can play a sound?? wav,mp3,ogg,aiff????
Goto Forum:
  


Current Time: Mon Jun 22 19:17:55 GMT+2 2026

Total time taken to generate the page: 0.00485 seconds