0

Is it possible to get the coordinates of any NotifyIcon in Win10?

I am trying to build a WPF application using C# and its screen position depends on these coordinates.

CopsOnRoad
  • 237,138
  • 77
  • 654
  • 440
Shoshi
  • 1
  • 1
    This would only make sense if you wanted to display a context menu or popup dialog. Is that what you're trying to do? – Panagiotis Kanavos Nov 11 '19 at 11:00
  • With wpf you normally dont use layout coordinates or anything like this. What are you trying to achive in the first place? – Denis Schaf Nov 11 '19 at 11:15
  • thank you for the replies, what I want to do is to create a transparent WPF, which is aligned to the NotifyIcon. The size of the WPF is small as the Notifyicon. – Shoshi Nov 11 '19 at 13:01
  • I don't really follow what you're trying to do but... Have you seen https://www.codeproject.com/Articles/36468/WPF-NotifyIcon-2 It is possible that part of the functionality in there is near enough what you want to achieve. – Andy Nov 11 '19 at 16:10

0 Answers0