We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e1dc0f commit e63dd4fCopy full SHA for e63dd4f
Source/ExcelDna.IntelliSense/UIMonitor/PopupListWatcher.cs
@@ -92,7 +92,8 @@ void _windowWatcher_FormulaEditLocationChanged(object sender, EventArgs e)
92
var hwndListView = Win32Helper.GetFirstChildWindow(_hwndPopupList);
93
ListBounds = Win32Helper.GetWindowBounds(_hwndPopupList);
94
Win32Helper.GetListViewSelectedItemInfo(hwndListView, out text, out itemBounds);
95
- itemBounds.Offset(ListBounds.Left, ListBounds.Top);
+ if (itemBounds != Rect.Empty)
96
+ itemBounds.Offset(ListBounds.Left, ListBounds.Top);
97
SelectedItemBounds = itemBounds;
98
OnSelectedItemChanged();
99
}
0 commit comments