summaryrefslogtreecommitdiff
path: root/new/ui_windows.h
diff options
context:
space:
mode:
Diffstat (limited to 'new/ui_windows.h')
-rw-r--r--new/ui_windows.h2
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);