Method trayIcon.GetRect Overload Gets tray icon rectangle in screen. public bool GetRect(out RECT r) Parameters r (RECT) Returns bool false if failed, for example if the icon is in hidden overflow area. Supports lastError.