Skip to content

Commit 9f8ca01

Browse files
committed
2 parents 05d88a6 + 568e79f commit 9f8ca01

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Source/ExcelDna.IntelliSense/ToolTipForm.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)