home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CEdit

CObject
   |
   +--CCmdTarget
         |
         +--CWnd
               |
               +--CEdit

   in AFXWIN.H

class CEdit
extends CWnd


 
Fields inherited from class CWnd
m_hWnd, wndTop, wndBottom, wndTopMost, wndNoTopMost, m_hWndOwner, m_nFlags, m_pfnSuper, m_nMsgDragList, m_nModalResult, m_pDropTarget, m_pCtrlCont, m_pCtrlSite, messageMap
   
Fields inherited from class CCmdTarget
messageMap, commandMap, dispatchMap, connectionMap, interfaceMap, eventsinkMap, m_dwRef, m_pOuterUnknown, m_xInnerUnknown, m_xDispatch, m_bResultExpected, m_xConnPtContainer
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CEdit()
          
virtual ~CEdit()
          
 
Method Summary
 BOOL CanUndo() const
          
 int CharFromPos( CPoint pt ) const
          
 void Clear()
          
 void Copy()
          
 BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID )
          
 void Cut()
          
 void EmptyUndoBuffer()
          
 BOOL FmtLines( BOOL bAddEOL )
          
 int GetFirstVisibleLine() const
          
 HLOCAL GetHandle() const
          
 UINT GetLimitText() const
          
 int GetLine( int nIndex, LPTSTR lpszBuffer ) const
          
 int GetLine( int nIndex, LPTSTR lpszBuffer, int nMaxLength ) const
          
 int GetLineCount() const
          
 DWORD GetMargins() const
          
 BOOL GetModify() const
          
 TCHAR GetPasswordChar() const
          
 void GetRect( LPRECT lpRect ) const
          
 void GetSel( int& nStartChar, int& nEndChar ) const
          
 DWORD GetSel() const
          
 void LimitText( int nChars = 0 )
          
 int LineFromChar( int nIndex =-1 ) const
          
 int LineIndex( int nLine =-1 ) const
          
 int LineLength( int nLine =-1 ) const
          
 void LineScroll( int nLines, int nChars = 0 )
          
 void Paste()
          
 CPoint PosFromChar( UINT nChar ) const
          
 void ReplaceSel( LPCTSTR lpszNewText, BOOL bCanUndo = FALSE )
          
 void SetHandle( HLOCAL hBuffer )
          
 void SetLimitText( UINT nMax )
          
 void SetMargins( UINT nLeft, UINT nRight )
          
 void SetModify( BOOL bModified = TRUE )
          
 void SetPasswordChar( TCHAR ch )
          
 BOOL SetReadOnly( BOOL bReadOnly = TRUE )
          
 void SetRect( LPCRECT lpRect )
          
 void SetRectNP( LPCRECT lpRect )
          
 void SetSel( DWORD dwSelection, BOOL bNoScroll = FALSE )
          
 void SetSel( int nStartChar, int nEndChar, BOOL bNoScroll = FALSE )
          
 BOOL SetTabStops( const int& cxEachStop )
          
 BOOL SetTabStops( int nTabStops, LPINT rgTabStops )
          
 void SetTabStops()
          
 BOOL Undo()
          
   
Methods inherited from class CWnd
GetCurrentMessage, HWND, operator==, operator!=, GetSafeHwnd, GetStyle, GetExStyle, ModifyStyle, ModifyStyleEx, GetOwner, SetOwner, FromHandle, FromHandlePermanent, DeleteTempMap, Attach, Detach, PreSubclassWindow, SubclassWindow, SubclassDlgItem, UnsubclassWindow, ExecuteDlgInit, ExecuteDlgInit, Create, CreateEx, CreateEx, CreateControl, CreateControl, CreateControl, GetControlUnknown, DestroyWindow, PreCreateWindow, CalcWindowRect, GetDlgCtrlID, SetDlgCtrlID, GetDlgItem, GetDlgItem, GetDescendantWindow, SendMessageToDescendants, GetParentFrame, GetTopLevelParent, GetTopLevelOwner, GetParentOwner, GetTopLevelFrame, GetSafeOwner, SendMessage, PostMessage, SendNotifyMessage, SendChildNotifyLastMsg, IsDialogMessage, SetWindowText, GetWindowText, GetWindowText, GetWindowTextLength, SetFont, GetFont, GetMenu, SetMenu, DrawMenuBar, GetSystemMenu, HiliteMenuItem, IsIconic, IsZoomed, MoveWindow, MoveWindow, SetWindowRgn, GetWindowRgn, SetWindowPos, ArrangeIconicWindows, BringWindowToTop, GetWindowRect, GetClientRect, GetWindowPlacement, SetWindowPlacement, ClientToScreen, ClientToScreen, ScreenToClient, ScreenToClient, MapWindowPoints, MapWindowPoints, BeginPaint, EndPaint, GetDC, GetWindowDC, ReleaseDC, Print, PrintClient, UpdateWindow, SetRedraw, GetUpdateRect, GetUpdateRgn, Invalidate, InvalidateRect, InvalidateRgn, ValidateRect, ValidateRgn, ShowWindow, IsWindowVisible, ShowOwnedPopups, GetDCEx, LockWindowUpdate, UnlockWindowUpdate, RedrawWindow, EnableScrollBar, SetTimer, KillTimer, EnableToolTips, EnableTrackingToolTips, CancelToolTips, FilterToolTipMessage, OnToolHitTest, IsWindowEnabled, EnableWindow, GetActiveWindow, SetActiveWindow, SetForegroundWindow, GetForegroundWindow, GetCapture, SetCapture, GetFocus, SetFocus, GetDesktopWindow, CloseWindow, OpenIcon, CheckDlgButton, CheckRadioButton, GetCheckedRadioButton, DlgDirList, DlgDirListComboBox, DlgDirSelect, DlgDirSelectComboBox, GetDlgItemInt, GetDlgItemText, GetDlgItemText, GetNextDlgGroupItem, GetNextDlgTabItem, IsDlgButtonChecked, SendDlgItemMessage, SetDlgItemInt, SetDlgItemText, GetScrollPos, GetScrollRange, ScrollWindow, SetScrollPos, SetScrollRange, ShowScrollBar, EnableScrollBarCtrl, GetScrollBarCtrl, ScrollWindowEx, SetScrollInfo, GetScrollInfo, GetScrollLimit, ChildWindowFromPoint, ChildWindowFromPoint, FindWindow, GetNextWindow, GetTopWindow, GetWindow, GetLastActivePopup, IsChild, GetParent, SetParent, WindowFromPoint, FlashWindow, MessageBox, ChangeClipboardChain, SetClipboardViewer, OpenClipboard, GetClipboardOwner, GetClipboardViewer, GetOpenClipboardWindow, CreateCaret, CreateSolidCaret, CreateGrayCaret, GetCaretPos, SetCaretPos, HideCaret, ShowCaret, DragAcceptFiles, SetIcon, GetIcon, SetWindowContextHelpId, GetWindowContextHelpId, UpdateData, OnHelp, OnHelpIndex, OnHelpFinder, OnHelpUsing, WinHelp, RepositionBars, UpdateDialogControls, CenterWindow, RunModalLoop, ContinueModal, EndModalLoop, InvokeHelper, SetProperty, GetProperty, GetDSCCursor, BindDefaultProperty, BindProperty, OnCommand, OnNotify, OnActivate, OnActivateApp, OnActivateTopLevel, OnCancelMode, OnChildActivate, OnClose, OnContextMenu, OnCopyData, OnCreate, OnCtlColor, OnDestroy, OnEnable, OnEndSession, OnEnterIdle, OnEraseBkgnd, OnGetMinMaxInfo, OnHelpInfo, OnIconEraseBkgnd, OnKillFocus, OnMenuChar, OnMenuSelect, OnMove, OnPaint, OnParentNotify, OnQueryDragIcon, OnQueryEndSession, OnQueryNewPalette, OnQueryOpen, OnSetFocus, OnShowWindow, OnSize, OnTCard, OnWindowPosChanging, OnWindowPosChanged, OnNcActivate, OnNcCalcSize, OnNcCreate, OnNcDestroy, OnNcHitTest, OnNcLButtonDblClk, OnNcLButtonDown, OnNcLButtonUp, OnNcMButtonDblClk, OnNcMButtonDown, OnNcMButtonUp, OnNcMouseMove, OnNcPaint, OnNcRButtonDblClk, OnNcRButtonDown, OnNcRButtonUp, OnDropFiles, OnPaletteIsChanging, OnSysChar, OnSysCommand, OnSysDeadChar, OnSysKeyDown, OnSysKeyUp, OnCompacting, OnDevModeChange, OnFontChange, OnPaletteChanged, OnSpoolerStatus, OnSysColorChange, OnTimeChange, OnSettingChange, OnWinIniChange, OnChar, OnDeadChar, OnHScroll, OnVScroll, OnKeyDown, OnKeyUp, OnLButtonDblClk, OnLButtonDown, OnLButtonUp, OnMButtonDblClk, OnMButtonDown, OnMButtonUp, OnMouseActivate, OnMouseMove, OnMouseWheel, OnRegisteredMouseWheel, OnRButtonDblClk, OnRButtonDown, OnRButtonUp, OnSetCursor, OnTimer, OnInitMenu, OnInitMenuPopup, OnAskCbFormatName, OnChangeCbChain, OnDestroyClipboard, OnDrawClipboard, OnHScrollClipboard, OnPaintClipboard, OnRenderAllFormats, OnRenderFormat, OnSizeClipboard, OnVScrollClipboard, OnCompareItem, OnDeleteItem, OnDrawItem, OnGetDlgCode, OnMeasureItem, OnCharToItem, OnVKeyToItem, OnMDIActivate, OnEnterMenuLoop, OnExitMenuLoop, OnStyleChanged, OnStyleChanging, OnSizing, OnMoving, OnCaptureChanged, OnDeviceChange, GetSuperWndProcAddr, DoDataExchange, BeginModalState, EndModalState, PreTranslateMessage, OnAmbientProperty, WindowProc, OnWndMsg, Default, DefWindowProc, PostNcDestroy, OnChildNotify, ReflectChildNotify, ReflectLastMsg, CheckAutoCenter, SubclassCtl3d, SubclassDlg3d, GrayCtlColor, OnGrayCtlColor, HandleFloatingSysCommand, IsTopParentActive, ActivateTopParent, WalkPreTranslateTree, GetDescendantWindow, SendMessageToDescendants, IsFrameWnd, OnFinalRelease, PreTranslateInput, ModifyStyle, ModifyStyleEx, _FilterToolTipMessage, _EnableToolTips, GetSafeOwner_, CreateDlg, CreateDlgIndirect, CreateDlgIndirect, InitControlContainer, SetOccDialogInfo, AttachControlSite, AttachControlSite, OnNTCtlColor, OnQuery3dControls, OnDisplayChange, OnDragList, GetMessageMap
   
Methods inherited from class CCmdTarget
GetIDispatch, FromIDispatch, IsResultExpected, EnableAutomation, EnableConnections, BeginWaitCursor, EndWaitCursor, RestoreWaitCursor, EnumOleVerbs, DoOleVerb, OnCmdMsg, OnFinalRelease, IsInvokeAllowed, EnableTypeLib, GetTypeInfoOfGuid, GetDispatchIID, GetTypeInfoCount, GetTypeLibCache, GetTypeLib, GetNotSupported, SetNotSupported, GetRoutingView, GetRoutingFrame, GetRoutingView_, GetRoutingFrame_, GetMessageMap, GetCommandMap, GetDispatchMap, GetConnectionMap, GetInterfaceMap, GetEventSinkMap, EnableAggregation, ExternalDisconnect, GetControllingUnknown, InternalQueryInterface, InternalAddRef, InternalRelease, ExternalQueryInterface, ExternalAddRef, ExternalRelease, GetInterface, QueryAggregates, OnCreateAggregates, GetInterfaceHook, GetStandardProp, SetStandardProp, GetEntryCount, GetDispEntry, MemberIDFromName, GetStackSize, PushStackArgs, CallMemberFunc, OnEvent, GetEventSinkEntry, GetExtraConnectionPoints, GetConnectionHook
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Constructor Detail

CEdit

public CEdit();

~CEdit

public virtual ~CEdit();


Method Detail

CanUndo

public BOOL CanUndo() const;

CharFromPos

public int CharFromPos( CPoint pt ) const;

Clear

public void Clear();

Copy

public void Copy();

Create

public BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );

Cut

public void Cut();

EmptyUndoBuffer

public void EmptyUndoBuffer();

FmtLines

public BOOL FmtLines( BOOL bAddEOL );

GetFirstVisibleLine

public int GetFirstVisibleLine() const;

GetHandle

public HLOCAL GetHandle() const;

GetLimitText

public UINT GetLimitText() const;

GetLine

public int GetLine( int nIndex, LPTSTR lpszBuffer ) const;

GetLine

public int GetLine( int nIndex, LPTSTR lpszBuffer, int nMaxLength ) const;

GetLineCount

public int GetLineCount() const;

GetMargins

public DWORD GetMargins() const;

GetModify

public BOOL GetModify() const;

GetPasswordChar

public TCHAR GetPasswordChar() const;

GetRect

public void GetRect( LPRECT lpRect ) const;

GetSel

public void GetSel( int& nStartChar, int& nEndChar ) const;

GetSel

public DWORD GetSel() const;

LimitText

public void LimitText( int nChars = 0 );

LineFromChar

public int LineFromChar( int nIndex =-1 ) const;

LineIndex

public int LineIndex( int nLine =-1 ) const;

LineLength

public int LineLength( int nLine =-1 ) const;

LineScroll

public void LineScroll( int nLines, int nChars = 0 );

Paste

public void Paste();

PosFromChar

public CPoint PosFromChar( UINT nChar ) const;

ReplaceSel

public void ReplaceSel( LPCTSTR lpszNewText, BOOL bCanUndo = FALSE );

SetHandle

public void SetHandle( HLOCAL hBuffer );

SetLimitText

public void SetLimitText( UINT nMax );

SetMargins

public void SetMargins( UINT nLeft, UINT nRight );

SetModify

public void SetModify( BOOL bModified = TRUE );

SetPasswordChar

public void SetPasswordChar( TCHAR ch );

SetReadOnly

public BOOL SetReadOnly( BOOL bReadOnly = TRUE );

SetRect

public void SetRect( LPCRECT lpRect );

SetRectNP

public void SetRectNP( LPCRECT lpRect );

SetSel

public void SetSel( DWORD dwSelection, BOOL bNoScroll = FALSE );

SetSel

public void SetSel( int nStartChar, int nEndChar, BOOL bNoScroll = FALSE );

SetTabStops

public BOOL SetTabStops( const int& cxEachStop );

SetTabStops

public BOOL SetTabStops( int nTabStops, LPINT rgTabStops );

SetTabStops

public void SetTabStops();

Undo

public BOOL Undo();

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD