Share

CAdUiFileDialog::OnNotifyControlChange

C++

virtual ADUI_REPLY OnNotifyControlChange(
    UINT controlId, 
    LPARAM lParam
);

Description

This method is provided to handle a notification that a control has changed, outside of the usual Windows or MFC framework. In AdUi, edit controls will notify their AdUi containers when their contents change using this mechanism (similar to sending EN_CHANGE). Derived controls can be made to explicitly notify their containers by calling AdUiNotify() passing the container, kAdUiNotify_ControlChange, the control's ID and an optional 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
lParam Application-defined data the control attached to the notification

Links

CAdUiFileDialog

Was this information helpful?