diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-07 02:46:27 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-07 02:46:27 -0400 |
| commit | 3160b1ae1f9323ac9546e8d0de14cf190b7af5f2 (patch) | |
| tree | 78d8b924fc2897ca949f8f4074441aedee1b570b /new/ui_windows.h | |
| parent | 816461ecbfb911bda36b74149b9b0f6b6c52e16e (diff) | |
Added subclassing, which finishes off newcontrol_windows.c.
Diffstat (limited to 'new/ui_windows.h')
| -rw-r--r-- | new/ui_windows.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new/ui_windows.h b/new/ui_windows.h index c2a21b4..330b7cb 100644 --- a/new/ui_windows.h +++ b/new/ui_windows.h @@ -19,7 +19,7 @@ struct uiWindowsNewControlParams { // These are called when the control sends a WM_COMMAND or WM_NOTIFY (respectively) to its parent. // ui redirects the message back and calls these functions. - // Store the result in *lResult and return TRUE to return the given result; return FALSE to pass the notification up to your window procedure. + // Store the result in *lResult and return any non-FALSE value (such as 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 *c, WPARAM wParam, LPARAM lParam, void *data, LRESULT *lResult); BOOL (*onWM_NOTIFY)(uiControl *c, WPARAM wParam, LPARAM lParam, void *data, LRESULT *lResult); |
