From 638ccde5cf7428b75d0de5c0254ce07261085fee Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Jun 2012 17:01:50 +0000 Subject: button control moved to wParam everywhere git-svn-id: http://svn.miranda-ng.org/main/trunk@483 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_button.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/m_button.h b/include/m_button.h index cb2528c4ce..d5742ce4b0 100644 --- a/include/m_button.h +++ b/include/m_button.h @@ -43,13 +43,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define BUTTONSETDEFAULT (WM_USER+2) // Sets the button as a push button -// wParam = lParam = not used -// Usage: SendMessage(hwndbutton, BUTTONSETASPUSHBTN, 0, 0); +// wParam = TRUE/FALSE default on/off +// lParam = not used +// Usage: SendMessage(hwndbutton, BUTTONSETASPUSHBTN, 1, 0); // Only works on MButtonClass buttons #define BUTTONSETASPUSHBTN (WM_USER+3) // Sets the button type as a flat button without borders v0.3.3+ -// Usage: SendMessage(hwndbutton, BUTTONSETASFLATBTN, 0, 0); +// wParam = TRUE/FALSE default on/off +// lParam = not used +// Usage: SendMessage(hwndbutton, BUTTONSETASFLATBTN, 1, 0); // Only works on MButtonClass buttons #define BUTTONSETASFLATBTN (WM_USER+4) -- cgit v1.2.3