summaryrefslogtreecommitdiff
path: root/plugins/IEHistory/src/services.cpp
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2014-08-21 11:42:41 +0000
committerRené Schümann <white06tiger@gmail.com>2014-08-21 11:42:41 +0000
commit572b645362aff573399cf65a5faa735415d1ab65 (patch)
treece1e551f65fd71bf0500c01b133d8956d4e7e5d3 /plugins/IEHistory/src/services.cpp
parent2ae4a360da9638ecaaa68bbb683187ef8e1faf35 (diff)
IEHistory: v0.0.1.6
* improved IDC_IEVIEW_PLACEHOLDER control - removed border around IEView control to fit entire window * improved name of system history dialog (IEView still doesn't show all events.. so it's mostly useless) + added ability to focus and bring to top old history window if it were already open git-svn-id: http://svn.miranda-ng.org/main/trunk@10254 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEHistory/src/services.cpp')
-rw-r--r--plugins/IEHistory/src/services.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/IEHistory/src/services.cpp b/plugins/IEHistory/src/services.cpp
index 0cbd957e0a..75d16a6e1d 100644
--- a/plugins/IEHistory/src/services.cpp
+++ b/plugins/IEHistory/src/services.cpp
@@ -55,7 +55,8 @@ INT_PTR ShowContactHistoryService(WPARAM wParam, LPARAM lParam)
SetWindowLongPtr(historyDlg, DWLP_USER, (LONG_PTR)data);
WindowList_Add(hOpenWindowsList, historyDlg, (MCONTACT) wParam);
- }
+ }else
+ SetForegroundWindow(historyDlg);
ShowWindow(historyDlg, SW_SHOWNORMAL);
return 0;
}