diff options
author | Abdul <abdul@miranda-ng.org> | 2012-07-05 15:10:11 +0000 |
---|---|---|
committer | Abdul <abdul@miranda-ng.org> | 2012-07-05 15:10:11 +0000 |
commit | 3084d80d13977934b976afe57f16f0b81e6b7398 (patch) | |
tree | 6cf5cfe758f750753786c22f6a122d25d431a7ff /plugins/BasicHistory/src/HotkeyHelper.cpp | |
parent | 3625defe533b307b8e52c926129f7f7f50a67962 (diff) |
BasicHistory updated to 1.0.1.7
git-svn-id: http://svn.miranda-ng.org/main/trunk@776 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BasicHistory/src/HotkeyHelper.cpp')
-rw-r--r-- | plugins/BasicHistory/src/HotkeyHelper.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/BasicHistory/src/HotkeyHelper.cpp b/plugins/BasicHistory/src/HotkeyHelper.cpp index eeb537456a..29f916ea3c 100644 --- a/plugins/BasicHistory/src/HotkeyHelper.cpp +++ b/plugins/BasicHistory/src/HotkeyHelper.cpp @@ -18,6 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "StdAfx.h"
#include "HotkeyHelper.h"
+#include "resource.h"
+#include "Options.h"
LRESULT CALLBACK HotkeySubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
@@ -44,6 +46,10 @@ LRESULT CALLBACK HotkeySubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l WNDPROC oldProc = (WNDPROC)GetWindowLongPtr(hwnd, GWLP_USERDATA);
switch (msg) {
+ case WM_NCPAINT:
+ if(Options::instance->noFindBorder && GetDlgCtrlID(hwnd) == IDC_FIND_TEXT)
+ return 0;
+ break;
case WM_CHAR:
case WM_SYSCHAR:
case WM_UNICHAR:
|