OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Defining Response Table Entries

Response table entries associate a Windows event with a particular function.

When a window or control receives a message, it checks its response table to see if there is an entry for that message. If there is, it passes the message on to that function. If not, it passes the message up to its parent. If the window is the main window, it passes the message on to the application object. If the application object doesn't have a response entry for that particular message, the message is handled by ObjectWindows default processing.

ObjectWindows provides a large number of macros for response table entries. These include:

  • Command message macros that let you handle command messages and route them to a specified function.
  • Standard Windows message macros for handling Windows messages.
  • Registered messages (messages returned by RegisterWindowMessage).
  • Child ID notification macros that let you handle child ID notification codes at the child or the parent.
  • Control notification macros that handle messages from specialized controls such as buttons, combo boxes, edit controls, list boxes, and so on.
  • Document manager message macros to notify the application that a document or view has been created or destroyed and to notify views about events from the document manager.
  • VBX control notifications.

See Also