Print Page | Close Window

how to add a trayicon?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=13588
Printed Date: 22 November 2024 at 6:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to add a trayicon?
Posted By: forrest
Subject: how to add a trayicon?
Date Posted: 05 March 2009 at 6:25am
Hi,
 
My story is, that I have problems to add an axTrayIcon to my application. I tried to start the sample for the suite controls, but it was not really helpful. I added the trayicon control to the designer an chose the icon and the contextmenu at the settings dialog. If the form loads, I added
 
this.axTrayIcon1.Show();
 
But nothing happends . How do I add the trayicon to my traybar when application starts?
 
Thanks,
forrest


-------------
Product: Xtreme SuitePro (ActiveX) version 11.2.2
Platform: Windows Vista (32bit) - SP 1
Language: C#



Replies:
Posted By: Oleg
Date Posted: 05 March 2009 at 7:51am
Hello,
 
Problem that .NET converted AxtiveX Icon property to own Image property and TrayIcon can't use this image.
 
Guess in .NET better use standard "NotifyIcon" control.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net