![]() |



Function |
Declared in: NiNumEditEvents.h |
Declaration
void OnCWBindingStatusUpdated( short Index, long Status, long Error, LPCTSTR Message);
Description
Generated when the status of the binding connection changes.
Note: The status changes as the connection is made and data is downloaded. The event also is generated if an error occurs. The CWBindingStatusUpdated event occurs every time you try to connect to the data source specified by the URL. The event returns parameters for the status, a system error code, and a string describing the most recent progress or error. You can use these parameters to identify the cause of a problem or to report the progress. The CWBindingStatusUpdated event might be generated several times, depending on the data source to which you are trying to connect.
Parameters
Contains the index of the CNiBindings collection of the binding that generated this event.
Status of the binding connection.
Error associated with the binding connection.
Descriptive message of the connection status.
See Also
Example
void OnCWBindingStatusUpdated(short Index, long Status, long Error, LPCTSTR Message) { // Display the status of connection 1. if (Index = 1) { m_Text1.Text = message } }