Position of System Tray Icon

  • Thread starter Thread starter Pete
  • Start date Start date
P

Pete

Probably very easy question, apologies, newB to Winforms...

I've successfully created a NotifyIcon to sit in the system tray.

I want to use the position of the icon as an anchor for a dialog box.

How do I find out the position of the icon?

TIA, Pete
 
Pete,
I want to use the position of the icon as an anchor for a dialog box.

How do I find out the position of the icon?

Can't you just use the current mouse cursor coordinates instead?
That's what most people do for showing a context menu for the icon.


Mattias
 
Yes, that was what I did in the end. Just wondered whether I could ask
the icon "where are you" without involving the mouse.
 
Back
Top