diff options
Diffstat (limited to 'new/ui_windows.h')
| -rw-r--r-- | new/ui_windows.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/new/ui_windows.h b/new/ui_windows.h index eb68475..675f45b 100644 --- a/new/ui_windows.h +++ b/new/ui_windows.h @@ -21,8 +21,10 @@ struct uiWindowsNewControlParams { // ui redirects the message back and calls these functions. // Store the result in the LRESULT pointer and return TRUE to return the given result; return FALSE to pass the notification up to your window procedure. // Note that these are only issued if they come from the uiControl itself; notifications from children of the uiControl (such as a header control) will be received normally. - BOOL (*onWM_COMMAND)(uiControl *, WPARAM, LPARAM, LRESULT *); - BOOL (*onWM_NOTIFY)(uiControl *, WPARAM, LPARAM, LRESULT *); + BOOL (*onWM_COMMAND)(uiControl *, WPARAM, LPARAM, void *, LRESULT *); + BOOL (*onWM_NOTIFY)(uiControl *, WPARAM, LPARAM, void *, LRESULT *); + // This is the void * parameter to both of the above. + void *onCommandNotifyData; }; uiControl *uiWindowsNewControl(uiWindowsNewControlParams *); |
