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 » U++ Widgets - General questions or Mixed problems » Set or paint with transparent color?
Re: Set or paint with transparent color? [message #7861 is a reply to message #7860] Sat, 27 January 2007 08:04 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14255
Registered: November 2005
Ultimate Member
snap2000 wrote on Sat, 27 January 2007 00:18

Is there any way that I can paint with or set a transparent color on my own Ctrl? For example, if I were to draw a playing card as a ctrl, and I wanted to round the borders slightly, it would be easier to "erase" the corners than to go out of my way to not try to paint the corners in the first place.


Not sure I quite understand, but I guess the straight reply is no.

The problem is that it is not known what is the correct background. If things are transparent, the only correct solution to get the right appearance is to paint things in z-order...

MIrek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Grabbing mouse events
Next Topic: Native common dialogs
Goto Forum:
  


Current Time: Mon Apr 28 02:11:53 CEST 2025

Total time taken to generate the page: 0.00795 seconds