C++
virtual ADUI_REPLY OnNotifyControlValid( UINT controlId, BOOL isValid );
Description
A dialog receives this notification when an AdUi control determines that it has transitioned from containing valid data to non-valid, or vice-versa. Derived controls can be made to explicitly notify their containers by calling AdUiNotify() passing the container, kAdUiNotify_Valid or kAdUiNotifyNotValid and the control's ID (pass zero for lParam).
By default, the dialog does nothing and replies kAdUiNotify_Nothing.
The method should return a reply appropriate to the application. By convention, kAdUiReply_Nothing usually indicates the notification was ignored, while kAdUiReply_Ok indicates it was handled.
Parameters
Parameters | Description |
---|---|
controlId | Indicates a control's resource identifier |
isValid | If TRUE then the control contains valid data, otherwise the data is not valid |