L
Lothar Behrens
Hi,
I have implemented a notify icon and the mouse click handler. But when
I read out the e.Location or e.X and e.Y I get the location of the
upper left corner (0, 0).
How to get the correct location?
private void notifyIcon1_MouseClick(object sender,
MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
{
// Another popup menu implementation.
popupMenuNotifyIcon.ShowPopup(new Point(e.X, e.Y));
}
}
Thanks
Lothar
I have implemented a notify icon and the mouse click handler. But when
I read out the e.Location or e.X and e.Y I get the location of the
upper left corner (0, 0).
How to get the correct location?
private void notifyIcon1_MouseClick(object sender,
MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
{
// Another popup menu implementation.
popupMenuNotifyIcon.ShowPopup(new Point(e.X, e.Y));
}
}
Thanks
Lothar