diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-12-30 18:14:05 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-12-30 18:14:05 +0000 |
commit | a16a82ec61cfecc76b73c895832a0c447f6ffaae (patch) | |
tree | 68f470f4b0546dc28d4e4c8a7476af58531018c3 /plugins/StartPosition/src | |
parent | 76f2743bfae5a9f77351f434434773c8a7b71cf5 (diff) |
- StartPosition.txt: - "start minimized" fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@2892 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StartPosition/src')
-rw-r--r-- | plugins/StartPosition/src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/StartPosition/src/main.cpp b/plugins/StartPosition/src/main.cpp index 9c3c0794f8..418323828a 100644 --- a/plugins/StartPosition/src/main.cpp +++ b/plugins/StartPosition/src/main.cpp @@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "Common.h"
#include "m_clui.h"
+#include "m_clist.h"
HINSTANCE hInst;
int hLangpack;
@@ -196,7 +197,8 @@ int onModulesLoaded(WPARAM wParam, LPARAM lParam) }
HWND hClist = (HWND)CallService(MS_CLUI_GETHWND, 0, 0);
MoveWindow(hClist, (int)db_get_dw(NULL, "CList", "x", 100), (int)db_get_dw(NULL, "CList", "y", 100), (int)clWidth, (int)db_get_dw(NULL, "CList", "Height", 0), 0);
-
+ if(clEnableState == 1 && clState == 0)
+ CallService(MS_CLIST_SHOWHIDE, 0, 0);
return 0;
}
|