Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Source/ExcelDna.IntelliSense/ToolTipForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ protected override void WndProc(ref Message m)
const int WM_MOUSEACTIVATE = 0x21;
const int WM_MOUSEMOVE = 0x0200;
const int WM_LBUTTONDOWN = 0x0201;
const int WM_LBUTTONUP = 0x0202;
const int WM_LBUTTONUP = 0x0202;
const int WM_LBUTTONDBLCLK = 0x203;
const int WM_SETCURSOR = 0x20;
const int MA_NOACTIVATE = 0x0003;

Expand All @@ -92,7 +93,8 @@ protected override void WndProc(ref Message m)
case WM_LBUTTONUP:
MouseButtonUp(GetMouseLocation(m.LParam));
return;
case WM_SETCURSOR:
case WM_SETCURSOR:
case WM_LBUTTONDBLCLK:
// We need to handle this message to prevent flicker (possibly because we're not 'active').
m.Result = new IntPtr(1); //Signify that we dealt with the message.
return;
Expand Down