CGridListCtrlEx
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CGridMultilineEditorText Class Reference

CEdit for inplace edit. For internal use by CGridColumnTraitMultilineEdit. More...

Inheritance diagram for CGridMultilineEditorText:
CGridEditorText

Public Member Functions

 CGridMultilineEditorText (int nRow, int nCol)
 CGridMultilineEditorText - Constructor.
 
void SetLineHeight (int nLineHeight)
 
void SetMaxLines (UINT nMaxLines)
 
- Public Member Functions inherited from CGridEditorText
 CGridEditorText (int nRow, int nCol)
 CGridEditorText - Constructor.
 
virtual void EndEdit (bool bSuccess)
 The cell value editor was closed and the entered should be saved. More...
 

Protected Member Functions

afx_msg void OnEnChange ()
 EN_CHANGE notification handler to monitor text modifications.
 
 DECLARE_MESSAGE_MAP ()
 
- Protected Member Functions inherited from CGridEditorText
afx_msg void OnKillFocus (CWnd *pNewWnd)
 WM_KILLFOCUS message handler called when CEdit is loosing focus to other control. More...
 
afx_msg void OnEnChange ()
 EN_CHANGE notification handler to monitor text modifications.
 
virtual void PostNcDestroy ()
 Called by the default OnNcDestroy (WM_NCDESTROY) message handler, when CEdit window has been be destroyed. More...
 
virtual BOOL PreTranslateMessage (MSG *pMsg)
 Hook to proces windows messages before they are dispatched. More...
 
 DECLARE_MESSAGE_MAP ()
 

Protected Attributes

int m_LineHeight
 The height of a single line (depends on current font)
 
UINT m_MaxLines
 Max number of lines the CEdit will display at a time.
 
- Protected Attributes inherited from CGridEditorText
int m_Row
 The index of the row being edited.
 
int m_Col
 The index of the column being edited.
 
bool m_Completed
 Ensure the editor only reacts to a single close event.
 
bool m_Modified
 Register if text was modified while the editor was open.
 
bool m_InitialModify
 Initial text modication should not set that the editor text was modified.
 

Detailed Description

CEdit for inplace edit. For internal use by CGridColumnTraitMultilineEdit.