From e3cefc7b6ca803e3f87dbadae54a110332778490 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 5 Jul 2012 22:41:06 +0000 Subject: - first of the /Core standard plugins; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@778 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_options.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include/m_options.h') diff --git a/include/m_options.h b/include/m_options.h index 5da817a71a..bc3469998a 100644 --- a/include/m_options.h +++ b/include/m_options.h @@ -30,8 +30,8 @@ extern int hLangpack; The user opened the options dialog. Modules should do whatever initialisation they need and call opt/addpage one or more times if they want pages displayed in the options dialog -wParam=addInfo -lParam=0 +wParam = addInfo +lParam = 0 addInfo should be passed straight to the wParam of opt/addpage */ #define ME_OPT_INITIALISE "Opt/Initialise" @@ -39,8 +39,8 @@ addInfo should be passed straight to the wParam of opt/addpage /* Opt/AddPage Must only be called during an opt/initialise hook Adds a page to the options dialog -wParam=addInfo -lParam=(LPARAM)(OPTIONSDIALOGPAGE*)odp +wParam = addInfo +lParam = (LPARAM)(OPTIONSDIALOGPAGE*)odp addInfo must have come straight from the wParam of opt/initialise Pages in the options dialog operate just like pages in property sheets. See the Microsoft documentation for details on how they operate. @@ -101,7 +101,7 @@ typedef struct { #define ODPF_TCHAR 0 #endif -#define PSN_EXPERTCHANGED 2 //sent to pages via WM_NOTIFY when the expert checkbox is clicked. lParam=new state +#define PSN_EXPERTCHANGED 2 //sent to pages via WM_NOTIFY when the expert checkbox is clicked. lParam = new state #define PSM_ISEXPERT (WM_USER+101) //returns true/false #define PSM_GETBOLDFONT (WM_USER+102) //returns HFONT used for group box titles @@ -111,8 +111,8 @@ __inline static INT_PTR Options_AddPage(WPARAM wParam, OPTIONSDIALOGPAGE* odp) } //Opens the options dialog, optionally at the specified page v0.1.2.1+ -//wParam=0 -//lParam=(LPARAM)(OPENOPTIONSDIALOG*)&ood; +//wParam = 0 +//lParam = (LPARAM)(OPENOPTIONSDIALOG*)&ood; //Returns 0 on success, nonzero on failure //The behaviour if the options dialog is already open is that it will just be //activated, the page won't be changed. This may change in the future. -- cgit v1.2.3