diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-19 17:01:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-19 17:01:50 +0000 |
commit | 638ccde5cf7428b75d0de5c0254ce07261085fee (patch) | |
tree | 830e697eb0904c50abe41ba66c4b57ff5e903196 /include/m_button.h | |
parent | 394540126b181982d8b61d07a084ceeac8559ed1 (diff) |
button control moved to wParam everywhere
git-svn-id: http://svn.miranda-ng.org/main/trunk@483 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_button.h')
-rw-r--r-- | include/m_button.h | 9 |
1 files changed, 6 insertions, 3 deletions
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)
|