From a16a82ec61cfecc76b73c895832a0c447f6ffaae Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sun, 30 Dec 2012 18:14:05 +0000 Subject: - StartPosition.txt: - "start minimized" fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@2892 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StartPosition/src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3