OWLNext 7.0
Borland's Object Windows Library for the modern age
|
The child ID notification message macros provide a number of different ways to handle child ID notification messages.
You can handle notification codes from multiple children with a single function, pass all notification codes from a child to a response window, or handle the notification code at the child. You use these macros to facilitate controlling and communicating with child controls. The different types of child ID notification message macros are listed in the following table:
Macro and Prototype | Description |
macro: EV_CHILD_NOTIFY(ID,Code,UserName) | Dispatches message and notification code to the member function UserName. |
prototype: void UserName() | |
macro: EV_CHILD_NOTIFY_AND_CODE(Id, Code, UserName) | Dispatches message Id with the notification code Code to the function UserName. |
prototype: void UserName(WPARAM code) | |
macro: EV_CHILD_NOTIFY_ALL_CODES(Id, UserName) | Dispatches message Id to the function UserName, regardless of the message's notification code. |
prototype: void UserName(WPARAM code) | |
macro: EV_NOTIFY_AT_CHILD(Code, UserName) | Dispatches the notification code Code to the child-object member function UserName. |
prototype: void UserName() |
These macros provide different methods for handling child ID notification codes. For more about these macros, see