## 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.

Members

wxGridSizeEvent::wxGridSizeEvent
wxGridSizeEvent::AltDown
wxGridSizeEvent::ControlDown
wxGridSizeEvent::GetPosition
wxGridSizeEvent::GetRowOrCol
wxGridSizeEvent::MetaDown
wxGridSizeEvent::ShiftDown

### wxGridSizeEvent::wxGridSizeEvent

wxGridSizeEvent()

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()

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

### wxGridSizeEvent::ControlDown

bool ControlDown()

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

### wxGridSizeEvent::GetPosition

wxPoint GetPosition()

Position in pixels at which the event occurred.

### wxGridSizeEvent::GetRowOrCol

int GetRowOrCol()

Row or column at that was resized.

### wxGridSizeEvent::MetaDown

bool MetaDown()

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

### wxGridSizeEvent::ShiftDown

bool ShiftDown()

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