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 » 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: 263
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: Mon Apr 29 08:56:25 CEST 2024

Total time taken to generate the page: 0.02498 seconds