From 14f61e5720ce76ff8f16c84559be10fd2f26c003 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sun, 14 Mar 2004 22:27:44 +0000 Subject: [PATCH] UNICODE fix for Tooltips svn path=/trunk/; revision=8739 --- reactos/subsys/system/explorer/utility/window.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/system/explorer/utility/window.cpp b/reactos/subsys/system/explorer/utility/window.cpp index 8769ebf9758..55a5f28d350 100644 --- a/reactos/subsys/system/explorer/utility/window.cpp +++ b/reactos/subsys/system/explorer/utility/window.cpp @@ -684,7 +684,8 @@ INT_PTR CALLBACK Window::DialogProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM return TRUE; // message has been processed case WM_NOTIFYFORMAT: - return NFR_CURRENT; + SetWindowLong(hwnd, DWLP_MSGRESULT, NFR_CURRENT); // set return value NFR_CURRENT + return TRUE; // message has been processed case WM_NCDESTROY: delete pThis; @@ -1365,7 +1366,8 @@ INT_PTR CALLBACK PropSheetPageDlg::DialogProc(HWND hwnd, UINT nmsg, WPARAM wpara return TRUE; // message has been processed case WM_NOTIFYFORMAT: - return NFR_CURRENT; + SetWindowLong(hwnd, DWLP_MSGRESULT, NFR_CURRENT); // set return value NFR_CURRENT + return TRUE; // message has been processed case WM_NCDESTROY: delete pThis;