Important: The information in this document is obsolete and should not be used for new development.
Handling Mouse Events in Controls
When the user presses the mouse button, your application receives a mouse-down event. Use the Window Manager functionFindWindow
to determine which window contains the cursor. If the mouse-down event occurred in the content region of your application's active window, use theFindControl
function to determine whether the cursor was
in an active control and, if so, which control. To follow and respond to the cursor movements in that control, and then to determine in which part of the control the mouse-up event occurs, use theTrackControl
function.
Subtopics
- FindControl
- TrackControl
- TestControl