[nemerle] r8428 committed - Hide hint when IDE is moved.

1 view
Skip to first unread message

codesite...@google.com

unread,
Nov 4, 2009, 6:14:01 AM11/4/09
to nemer...@googlegroups.com
Revision: 8428
Author: v...@rsdn.ru
Date: Wed Nov 4 03:13:46 2009
Log: Hide hint when IDE is moved.
http://code.google.com/p/nemerle/source/detail?r=8428

Modified:
/nemerle/trunk/VsIntegration/Nemerle.VisualStudio/GUI/WpfHint/HintSource.cs
/nemerle/trunk/VsIntegration/Nemerle.VisualStudio/GUI/WpfHint/Win32.cs

=======================================
---
/nemerle/trunk/VsIntegration/Nemerle.VisualStudio/GUI/WpfHint/HintSource.cs
Wed Nov 4 01:21:20 2009
+++
/nemerle/trunk/VsIntegration/Nemerle.VisualStudio/GUI/WpfHint/HintSource.cs
Wed Nov 4 03:13:46 2009
@@ -92,7 +92,7 @@
// Otherwise UnSubClass() will be remove (hide) current messege.
int result = Win32.CallWindowProc(_oldRoot, hwnd, msg, wParam, lParam);

- if ((msg == Win32.WM_ACTIVATE || msg == Win32.WM_ACTIVATEAPP) &&
Activate != null)
+ if ((msg == Win32.WM_ACTIVATE || msg == Win32.WM_MOVE || msg ==
Win32.WM_ACTIVATEAPP) && Activate != null)
Activate();

return result;
=======================================
--- /nemerle/trunk/VsIntegration/Nemerle.VisualStudio/GUI/WpfHint/Win32.cs
Wed Nov 4 01:21:20 2009
+++ /nemerle/trunk/VsIntegration/Nemerle.VisualStudio/GUI/WpfHint/Win32.cs
Wed Nov 4 03:13:46 2009
@@ -36,6 +36,7 @@
public const int WM_MOUSEMOVE = 0x0200;
public const int WM_MOUSELEAVE = 0x02A3;
public const int WM_MOUSEHOVER = 0x02A1;
+ public const int WM_MOVE = 0x0003;
public const int GWL_WNDPROC = -4;

[DllImport("user32.dll")]

Reply all
Reply to author
Forward
0 new messages