summaryrefslogtreecommitdiff
path: root/include/m_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_button.h')
-rw-r--r--include/m_button.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/m_button.h b/include/m_button.h
index 3de4acb033..d883143793 100644
--- a/include/m_button.h
+++ b/include/m_button.h
@@ -69,11 +69,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define BUTTONADDTOOLTIP (WM_USER+5)
-// Sets the button type as a themed button without borders
+// Applies themes to a button
// wParam = TRUE/FALSE default on/off
// lParam = not used
// Usage: SendMessage(hwndbutton, BUTTONSETASTHEMEDBTN, 1, 0);
// Only works on MButtonClass buttons
#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);
+// Only works on MButtonClass buttons
+#define BUTTONSETCUSTOM (WM_USER+7)
+
#endif // M_BUTTON_H__