summaryrefslogtreecommitdiff
path: root/plugins/Svc_vi/dlgHandlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Svc_vi/dlgHandlers.cpp')
-rw-r--r--plugins/Svc_vi/dlgHandlers.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Svc_vi/dlgHandlers.cpp b/plugins/Svc_vi/dlgHandlers.cpp
index 937cdbef18..73eee44c0a 100644
--- a/plugins/Svc_vi/dlgHandlers.cpp
+++ b/plugins/Svc_vi/dlgHandlers.cpp
@@ -507,9 +507,9 @@ INT_PTR CALLBACK DialogBoxProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam
myInfo = (CVersionInfo *) lParam;
if (DBGetContactSettingByte(NULL, ModuleName, "ShowInTaskbar", TRUE)) {
DWORD ws;
- ws = GetWindowLong(hWnd, GWL_EXSTYLE);
- SetWindowLong(hWnd, GWL_EXSTYLE, ws | WS_EX_APPWINDOW);
- //SetWindowLong(hWnd, GWL_STYLE, ws | WS_DLGFRAME | WS_POPUPWINDOW);
+ ws = GetWindowLongPtr(hWnd, GWL_EXSTYLE);
+ SetWindowLongPtr(hWnd, GWL_EXSTYLE, ws | WS_EX_APPWINDOW);
+ //SetWindowLongPtr(hWnd, GWL_STYLE, ws | WS_DLGFRAME | WS_POPUPWINDOW);
}
TranslateDialogDefault(hWnd);