XLL+ Class Library (6.3)

CXlBeforeDoubleClickEvent Class

An event which is raised when the user double-clicks in a worksheet.

class CXlBeforeDoubleClickEvent : public CXlEvent

Overview

The event occurs when the user double-clicks in a worksheet.

Observers can register for this event at any point in the life of the XLL. Registration can be done explicitly using Register, or automatically by creating an instance of CXlBeforeDoubleClickEventStaticObserver.

When observers are notified, an argument of type CXlCancellableRangeEventArgs is passed. Observers can cancel normal processing of the double-click by cancelling the event using CXlCancellableRangeEventArgs::SetCancel(false).

Requirements

Header: xlpevents.h

See Also

CXlBeforeDoubleClickEvent Methods | xlpevents.h | CXllApp::BeforeDoubleClickEvent | Events | CXlCancellableRangeEventArgs | CXlBeforeDoubleClickEventStaticObserver