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

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 28 02:59:17 GMT+2 2026

Total time taken to generate the page: 0.00481 seconds