Contents Up Previous Next

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.

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