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 » TopWindow&PopUp, TrayIcon » runtime tray icon? Draw a number?
Re: runtime tray icon? Draw a number? [message #8233 is a reply to message #8230] Thu, 22 February 2007 14:42 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
DrGary wrote on Thu, 22 February 2007 01:01

Hey, that was pretty easy.



Thanks. That is what we want U++ to be Wink

Quote:


It looks like a mask is necessary. Without the line that includes 'img.Alpha().DrawText()', only a black square appears. Is this correct?



Yes, because initial pixels are all set to Color(0, 0, 0).

You can clear them to white (using DrawRect).

Note that until you use Alpha(), Image is Opaque. First call to Alpha makes it 100% transparent.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Borderless TopWindow
Next Topic: How to add Topwindow icon?
Goto Forum:
  


Current Time: Thu Aug 07 17:45:37 CEST 2025

Total time taken to generate the page: 0.03995 seconds