Static Public Member Functions | |
static const Common::CFormat * | GetAppropriateFormat (const Common::CDataObject *pDO, const CColumn *column) |
Gets an appropriate format. | |
static IEditInPlace::NavigationTarget | FindNextNavigationTarget (const CEditInPlaceContext &context, IEditInPlace::StopReason stopReason) |
Finds the next cell to start edit in place. | |
static void | AdjustControl (const CEditInPlaceContext &context, CEdit *editBox) |
Adjusts CEdit control to cell size and position, sets a font of CGrid and focus. | |
static CEmbeddedControlParams | AdjustControl (const CEditInPlaceContext &context, CComboBox *comboBox) |
Adjusts CComboBox control to cell size and position, sets a font of CGrid and focus. | |
static UINT | AdjustEditBoxStyle (const Common::CFormat *format, const CColumn *column) |
Adjusts CEdit style to a cell alignment. |
const Common::CFormat * GetAppropriateFormat | ( | const Common::CDataObject * | pDO, | |
const CColumn * | column | |||
) | [static] |
Gets an appropriate format.
The function looks for the format in the column, then if it is not found in the field table of the class, the pDO is instantiated from and if the format is not found, gets the default format, returned by Common::CFormat::GetDefaultFormat().
[in] | pDO | Pointer to a data object |
[in] | column | to a column in CGrid |
IEditInPlace::NavigationTarget FindNextNavigationTarget | ( | const CEditInPlaceContext & | context, | |
IEditInPlace::StopReason | stopReason | |||
) | [static] |
Finds the next cell to start edit in place.
[in] | context | Edit in place related information |
[in] | stopReason | Indicates the reason for the stop of edit in place. |
void AdjustControl | ( | const CEditInPlaceContext & | context, | |
CEdit * | editBox | |||
) | [static] |
Adjusts CEdit control to cell size and position, sets a font of CGrid and focus.
[in] | context | Edit in place related information |
[in] | editBox | MFC CEdit control |
CEmbeddedControlParams AdjustControl | ( | const CEditInPlaceContext & | context, | |
CComboBox * | comboBox | |||
) | [static] |
Adjusts CComboBox control to cell size and position, sets a font of CGrid and focus.
[in] | context | Edit in place related information |
[in] | comboBox | MFC CComboBox control |
UINT AdjustEditBoxStyle | ( | const Common::CFormat * | format, | |
const CColumn * | column | |||
) | [static] |
Adjusts CEdit style to a cell alignment.
[in] | The | column |
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |