コード例 #1
0
        public static System.Windows.Point GetMousePosition()
        {
            TrayPopup.Win32Point win32Point = default(TrayPopup.Win32Point);

            TrayPopup.GetCursorPos(ref win32Point);
            return(new System.Windows.Point((double)win32Point.X, (double)win32Point.Y));
        }
コード例 #2
0
 internal static extern bool GetCursorPos(ref TrayPopup.Win32Point pt);