wxGridSizeEvent

This event class contains information about a row/column resize event.

Derived from

wxNotifyEvent
wxCommandEvent
wxEvent
wxObject

Include files

<wx/grid.h>

Event handling

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

EVT_GRID_COL_SIZE(func) The user resized a column by dragging it. Processes a wxEVT_GRID_COL_SIZE.
EVT_GRID_ROW_SIZE(func) The user resized a row by dragging it. Processes a wxEVT_GRID_ROW_SIZE.
EVT_GRID_CMD_COL_SIZE(func) The user resized a column by dragging it; variant taking a window identifier. Processes a wxEVT_GRID_COL_SIZE.
EVT_GRID_CMD_ROW_SIZE(func) The user resized a row by dragging it; variant taking a window identifier. Processes a wxEVT_GRID_ROW_SIZE.



wxGridSizeEvent::wxGridSizeEvent



wxGridSizeEvent(void)

Default constructor.



wxGridSizeEvent(int id, wxEventType type, wxObject* obj, int rowOrCol = -1, int x = -1, int y = -1, bool control = false, bool shift = false, bool alt = false, bool meta = false)



wxGridSizeEvent::AltDown



bool AltDown(void)

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



wxGridSizeEvent::ControlDown



bool ControlDown(void)

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



wxGridSizeEvent::GetPosition



wxPoint GetPosition(void)

Position in pixels at which the event occurred.



wxGridSizeEvent::GetRowOrCol



int GetRowOrCol(void)

Row or column at that was resized.



wxGridSizeEvent::MetaDown



bool MetaDown(void)

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



wxGridSizeEvent::ShiftDown



bool ShiftDown(void)

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

ymasuda 平成17年11月19日