Version: 2.9.4
Public Member Functions
wxMouseCaptureLostEvent Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/event.h>

Inheritance diagram for wxMouseCaptureLostEvent:

Detailed Description

A mouse capture lost event is sent to a window that had obtained mouse capture, which was subsequently lost due to an "external" event (for example, when a dialog box is shown or if another application captures the mouse).

If this happens, this event is sent to all windows that are on the capture stack (i.e. called CaptureMouse, but didn't call ReleaseMouse yet). The event is not sent if the capture changes because of a call to CaptureMouse or ReleaseMouse.

This event is currently emitted under Windows only.

Events using this class

The following event handler macros redirect the events to member function handlers 'func' with prototypes like:

void handlerFuncName(wxMouseCaptureLostEvent& event)

Event macros:

Availability:  only available for the wxMSW port.

Library:  wxCore
Category:  Events
参照:
wxMouseCaptureChangedEvent, Events and Event Handling, wxWindow::CaptureMouse, wxWindow::ReleaseMouse, wxWindow::GetCapture

Public Member Functions

 wxMouseCaptureLostEvent (wxWindowID windowId=0)
 Constructor.

List of all members.


Constructor & Destructor Documentation

wxMouseCaptureLostEvent::wxMouseCaptureLostEvent ( wxWindowID  windowId = 0)

Constructor.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines