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

Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Transparent Background - Image control
Re: Transparent Background - Image control [message #42327 is a reply to message #42325] Fri, 07 March 2014 14:22 Go to previous messageGo to previous message
deep is currently offline  deep
Messages: 281
Registered: July 2011
Location: Bangalore
Experienced Member
Hi Didier,

Thank you for your response.

I checked with ParentCtrl and ImageCtrl.

protected:
//	ParentCtrl Led;
	ImageCtrl Led;

----------
void psSimLED::Paint(Draw& w)
{
//	Size sz = GetSize();
//	DrawPainter dp(w, sz);
//	dp.DrawImage(0,0,psSimLedImg::redLed());

	w.DrawImage(0,0,psSimLedImg::redLed());

}



Initial code DrawPainter used. Now commented.
Changed to w.DrawImage.. And it is working as expected now.



Warm Regards

Deepak
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Wy StyleNormal().Write() is global?
Next Topic: Flipped image in clipboard
Goto Forum:
  


Current Time: Thu Oct 08 15:09:41 GMT+2 2026

Total time taken to generate the page: 0.28543 seconds