Xyptilon2
asked on
hWnd destroyed by TTrayIcon
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:
https://www.experts-exchange.com/questions/23418340/TTrayIcon-onBalloonClick.html
Anybody?
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:
https://www.experts-exchange.com/questions/23418340/TTrayIcon-onBalloonClick.html
Anybody?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.