Advertisement

05.26.2008 at 10:23AM PDT, ID: 23433000
[x]
Attachment Details

hWnd destroyed by TTrayIcon

Asked by Xyptilon2 in C++ Builder, C++ Programming Language, C / C++ / C# Editors and IDEs

Tags:

It seems TTrayIcon destroys the hWnd, or the hWnd is altered or not set correctly.

Code in the TTrayIcon onDblClickEvent works fine (Form1->Show(); Application->Restore();)
However, when running the same code from an associated TPopupmenuItem, it doesn't work and doubleclickcing on the TTrayIcon also doesnt work anymore.

Creating a custom component to add OnBalloonClick functionatlity also doesnt work, which
I believe is for the same reason. Pointer to another open question:
http://www.experts-exchange.com/Programming/Editors_IDEs/C_CPP_CS/CPP_Builder/Q_23418340.html

Anybody?Start Free Trial
[+][-]06.01.2008 at 12:08AM PDT, ID: 21686275

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C++ Builder, C++ Programming Language, C / C++ / C# Editors and IDEs
Tags: C++ Builder 2007
Sign Up Now!
Solution Provided By: Xyptilon2
Participating Experts: 0
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628