Introduction - If you have any usage issues, please Google them yourself
Int PosFromChar(UINT nChar) // gets its X-axis position by the specified character
Int CharFromPos(int npos x) // obtain the corresponding characters by the position of the given x axis
Void CutString() // cut string
Void PasteString() // pasted string
Void CopyString() // copy string
Void MakeBKGround(CDC *pDC, COLORREF clrBegin, COLORREF clrEnd, CRect rect) // generation window background
CString m_strEdit // currently contains the text.
CString m_strSelect // currently selected text.
CPoint m_ptCursor // the location of the current cursor.
The starting position of CPoint m_ptTxtBegin // text.
CPoint m_ptFirst // left-click on the first point of position.
CPoint m_ptSecond // mouse current location.
Int m_nCharPos // the current cursor is at the back of the first few characters, counting from 0.
Int m_nShowChar // the first character displayed in the edit box, counting from 0.
Int m_nMaxShowChars // the number of characters displayed at most times in the edit box.
Int m_nSelectBegin // select the start position of the character.
The end position of the character of int m_nSelectEnd // selection.
CBitmap m_BmpBK // background images.
The font of CFont m_TxtFont // text.
TEXTMETRIC m_tm // text font information.
Packet : 47651479newasp200611413439593.rar filelist
2004121390121\漂亮的编辑筐\res\Thumbs.db
2004121390121\漂亮的编辑筐\res
2004121390121\漂亮的编辑筐\MyEdit.aps
2004121390121\漂亮的编辑筐\EditWnd.cpp
2004121390121\漂亮的编辑筐\MyEdit.cpp
2004121390121\漂亮的编辑筐\MyEditDlg.cpp
2004121390121\漂亮的编辑筐\StdAfx.cpp
2004121390121\漂亮的编辑筐\MyEdit.dsp
2004121390121\漂亮的编辑筐\MyEdit.dsw
2004121390121\漂亮的编辑筐\MyEdit.exe
2004121390121\漂亮的编辑筐\EditWnd.h
2004121390121\漂亮的编辑筐\MyEdit.h
2004121390121\漂亮的编辑筐\MyEditDlg.h
2004121390121\漂亮的编辑筐\Resource.h
2004121390121\漂亮的编辑筐\StdAfx.h
2004121390121\漂亮的编辑筐\res\MyEdit.ico
2004121390121\漂亮的编辑筐\MyEdit.ncb
2004121390121\漂亮的编辑筐\MyEdit.opt
2004121390121\漂亮的编辑筐\MyEdit.plg
2004121390121\漂亮的编辑筐\MyEdit.rc
2004121390121\漂亮的编辑筐\res\MyEdit.rc2
2004121390121\漂亮的编辑筐\ReadMe.txt
2004121390121\漂亮的编辑筐
2004121390121