File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Source/ExcelDna.IntelliSense Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ protected override void WndProc(ref Message m)
7272 const int WM_MOUSEACTIVATE = 0x21 ;
7373 const int WM_MOUSEMOVE = 0x0200 ;
7474 const int WM_LBUTTONDOWN = 0x0201 ;
75- const int WM_LBUTTONUP = 0x0202 ;
75+ const int WM_LBUTTONUP = 0x0202 ;
76+ const int WM_LBUTTONDBLCLK = 0x203 ;
7677 const int WM_SETCURSOR = 0x20 ;
7778 const int MA_NOACTIVATE = 0x0003 ;
7879
@@ -92,7 +93,8 @@ protected override void WndProc(ref Message m)
9293 case WM_LBUTTONUP :
9394 MouseButtonUp ( GetMouseLocation ( m . LParam ) ) ;
9495 return ;
95- case WM_SETCURSOR :
96+ case WM_SETCURSOR :
97+ case WM_LBUTTONDBLCLK :
9698 // We need to handle this message to prevent flicker (possibly because we're not 'active').
9799 m . Result = new IntPtr ( 1 ) ; //Signify that we dealt with the message.
98100 return ;
You can’t perform that action at this time.
0 commit comments