MessageWindow
Object List Next Object
Definition:
Allows you to create a window that you can post messages to using the Windows
API SendMessage and PostMessage. This allows for communication between two
processes through a window using windows messages.
Specialized Features:
The following tables list and describe the properties, methods, and events
added by MessageWindow:
Properties Use to...
hWnd Create the window when the Initialize method is called.
Methods Use to...
Initialize Create the window (hWnd property) so that when messages are sent to this
window's Window Procedure, they are translated into Message events.
Events Use to...
Message Trigger an event whenever a windows message is sent to the window procedure of
the Window created by the Initialize method.
Copied Features:
Properties
Methods Events
Details:
After initializing the MessageWindow, messages can be posted to the window
(see hWnd property), using the Windows APIs SendMessage and PostMessage. Whenever
a message is sent like this, the Message event is raised, and the code in the
handler will run. This allows for communication between two processes through
and window and windows messages.