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 » TrayIcon example [BUG][FIXED]
TrayIcon example [BUG][FIXED] [message #891] Tue, 07 February 2006 13:11 Go to next message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
TrayIcon example in DEBUG and RELEASE - "assertion failed CtrlLib/Win32.cpp line 38"
Re: upp602 beta bugs [message #897 is a reply to message #891] Tue, 07 February 2006 14:42 Go to previous message
victorb is currently offline  victorb
Messages: 78
Registered: December 2005
Location: Nice, France
Member
The issue with the tray icon is that the code is trying to delete the icon before it has been added for the first time.

Can be fixed by initializing visible to false in the TrayIcon constructor:

TrayIcon::TrayIcon()
{
...
+ visible = false;
...
}
Next Topic: TopWindow childless Clock example [BUG][FIXED]
Goto Forum:
  


Current Time: Tue Apr 16 20:13:48 CEST 2024

Total time taken to generate the page: 0.01527 seconds