The various MIGRIDCELLTYPE return one of these from their StartEdit() method. More...
#include <mi32/migrid.h>

Public Member Functions | |
| MIGRIDEDITHANDLE (MIGRIDCTRL *pCtrl, int col, int row, const LRECT2D &rect, const MIGRIDCELL &cell) | |
| virtual | ~MIGRIDEDITHANDLE () |
| MDLGPARENT | GetTextControl () const |
| void | Move (const LRECT2D &rect) |
| bool | Update () |
Protected Member Functions | |
| void | SendMouseEvent (Widget widget, int EventCode, const LPOINT2D *point) |
| virtual MDLGPARENT | v_GetTextControl () const |
| virtual void | v_Move (const LRECT2D &) |
| virtual bool | v_Update () |
Protected Attributes | |
| int | m_col |
| MIGRIDCTRL * | m_pCtrl |
| LRECT2D | m_rect |
| int | m_row |
The various MIGRIDCELLTYPE return one of these from their StartEdit() method.
This could go into an migridp.h This class is derived from MIGRIDCELL since it is closely tied to the cell that's being edited. (It actually keeps a COPY of the cell being edited)
| MIGRIDEDITHANDLE::MIGRIDEDITHANDLE | ( | MIGRIDCTRL * | pCtrl, | |
| int | col, | |||
| int | row, | |||
| const LRECT2D & | rect, | |||
| const MIGRIDCELL & | cell | |||
| ) | [inline] |
Constructor.
| virtual MIGRIDEDITHANDLE::~MIGRIDEDITHANDLE | ( | ) | [virtual] |
Destructor defined in migrdcel.c.
Calls MIGRIDCTRL::EditFinish() passing this and true, i.e., if we destroy the handle before we're done editing, cancel
| MDLGPARENT MIGRIDEDITHANDLE::GetTextControl | ( | ) | const [inline] |
Retrieves the XeText widget or CWnd of the Text Edit control if it has one.
Used to get the XeText to pass back to v_OnEditFinish()
| void MIGRIDEDITHANDLE::Move | ( | const LRECT2D & | rect | ) | [inline] |
This method is called whenever the user scrolls to move the editable area.
| void MIGRIDEDITHANDLE::SendMouseEvent | ( | Widget | widget, | |
| int | EventCode, | |||
| const LPOINT2D * | point | |||
| ) | [protected] |
Send that a mouse event occurred.
| bool MIGRIDEDITHANDLE::Update | ( | ) | [inline] |
Update() should make sure that the data in the handle reflects whatever GUI elements it has.
| virtual MDLGPARENT MIGRIDEDITHANDLE::v_GetTextControl | ( | ) | const [inline, protected, virtual] |
Retrieves the XeText widget or CWnd of the Text Edit control if it has one.
Used to get the XeText to pass back to OnEditFinish()
| virtual void MIGRIDEDITHANDLE::v_Move | ( | const LRECT2D & | ) | [inline, protected, virtual] |
This method is called whenever the user scrolls to move the editable area.
| virtual bool MIGRIDEDITHANDLE::v_Update | ( | ) | [inline, protected, virtual] |
Update() should make sure that the data in the handle reflects whatever GUI elements it has.
int MIGRIDEDITHANDLE::m_col [protected] |
MIGRIDCTRL* MIGRIDEDITHANDLE::m_pCtrl [protected] |
LRECT2D MIGRIDEDITHANDLE::m_rect [protected] |
int MIGRIDEDITHANDLE::m_row [protected] |
1.6.1