diff options
author | George Hazan <george.hazan@gmail.com> | 2013-07-15 11:44:40 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-07-15 11:44:40 +0000 |
commit | f92563fa59cd21d339f98288c60b81a51109fa01 (patch) | |
tree | 3f5831465380a967f0c79d9819a41422b7b2c59c /include/m_button.h | |
parent | 8e10b13b38995be8e810342d21040a4324cbfeef (diff) |
same clutch removed for MButtonCtrl, mir_subclassWindow won again
git-svn-id: http://svn.miranda-ng.org/main/trunk@5360 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_button.h')
-rw-r--r-- | include/m_button.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/m_button.h b/include/m_button.h index d883143793..c3b0dfabd7 100644 --- a/include/m_button.h +++ b/include/m_button.h @@ -77,10 +77,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define BUTTONSETASTHEMEDBTN (WM_USER+6)
// Sets the custom painting procedure for a button
-// wParam = not used
-// lParam = MButtonCustomize* (refer to mbutton_int.h for details)
-// Usage: SendMessage(hwndbutton, BUTTONSETCUSTOM, 0, (LPARAM)&CustomData);
+// wParam = new data block length (inherited from MButtonCtrl)
+// lParam = (pfnPainterFunc)pfnPainter (refer to mbutton_int.h for details)
+// Usage: SendMessage(hwndbutton, BUTTONSETCUSTOM, 0, (LPARAM)MyPainter);
// Only works on MButtonClass buttons
-#define BUTTONSETCUSTOM (WM_USER+7)
+#define BUTTONSETCUSTOMPAINT (WM_USER+7)
#endif // M_BUTTON_H__
|