ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 텍스트 편집(입력) 컨트롤 - MFC
    GUI/컨트롤 2008. 12. 13. 00:35
    CEdit
        단일 폰트를 사용하는 텍스트 편집기

        ON_WM_CTLCOLOR_REFLECT

        ON_WM_CHAR
        ON_EN_MAXTEXT
        ON_EN_CHANGE

        WS_HSCROLL
        WS_VSCROLL

        .Create()
        .CreateEx()
    WS_EX_CLIENTEDGE
        .SetWindowText()
        .GetWindowText()
        .SetSel()
        .GetSel()
    If two indexes are equal, no text is currently selected.
        .ReplaceSel()
    If one or more characters are selected when ReplaceSel is called, the inserted text replaces the selected text; otherwise, the new text is inserted at the current caret position.
        .SetCueBanner()
        .SetLimitText()
    c.f. .LimitText()
        .SetFont()

        .Clear()
        .Cut()
        .Copy()
        .Paste()
    CRichEditCtrl
    .GetTextLength()
    .SetSel()
    .GetSelText()
    .ReplaceSel()

    CXEditPrompt
    .SetPromptText()
    .SetPromptColor()

    알파벳 문자만 입력

    참조 사이트:

Designed by Tistory.