wxGridRangeSelectEvent

Derived from

wxNotifyEvent
wxCommandEvent
wxEvent
wxObject

Event handling

The event handler for the following functions takes a wxGridRangeSelectEvent parameter. The ..._CMD_... variants also take a window identifier.

EVT_GRID_RANGE_SELECT(func) The user selected a group of contiguous cells. Processes a wxEVT_GRID_RANGE_SELECT.
EVT_GRID_CMD_RANGE_SELECT(func) The user selected a group of contiguous cells; variant taking a window identifier. Processes a wxEVT_GRID_RANGE_SELECT.

Include files

<wx/grid.h>



wxGridRangeSelectEvent::wxGridRangeSelectEvent



wxGridRangeSelectEvent(void)

Default constructor.



wxGridRangeSelectEvent(int id, wxEventType type, wxObject* obj, const wxGridCellCoords& topLeft, const wxGridCellCoords& bottomRight, bool sel = true, bool control = false, bool shift = false, bool alt = false, bool meta = false)



wxGridRangeSelectEvent::AltDown



bool AltDown(void)

Returns true if the Alt key was down at the time of the event.



wxGridRangeSelectEvent::ControlDown



bool ControlDown(void)

Returns true if the Control key was down at the time of the event.



wxGridRangeSelectEvent::GetBottomRightCoords



wxGridCellCoords GetBottomRightCoords(void)

Top left corner of the rectangular area that was (de)selected.



wxGridRangeSelectEvent::GetBottomRow



int GetBottomRow(void)

Bottom row of the rectangular area that was (de)selected.



wxGridRangeSelectEvent::GetLeftCol



int GetLeftCol(void)

Left column of the rectangular area that was (de)selected.



wxGridRangeSelectEvent::GetRightCol



int GetRightCol(void)

Right column of the rectangular area that was (de)selected.



wxGridRangeSelectEvent::GetTopLeftCoords



wxGridCellCoords GetTopLeftCoords(void)

Top left corner of the rectangular area that was (de)selected.



wxGridRangeSelectEvent::GetTopRow



int GetTopRow(void)

Top row of the rectangular area that was (de)selected.



wxGridRangeSelectEvent::MetaDown



bool MetaDown(void)

Returns true if the Meta key was down at the time of the event.



wxGridRangeSelectEvent::Selecting



bool Selecting(void)

Returns true if the area was selected, false otherwise.



wxGridRangeSelectEvent::ShiftDown



bool ShiftDown(void)

Returns true if the Shift key was down at the time of the event.

ymasuda 平成17年11月19日