本帖最后由 tmkmk 于 2011-06-30 16:33:11 编辑

解决方案 »

  1.   

    WM_CLEAR
    An application sends a WM_CLEAR message to an edit control or combo box to delete (clear) the current selection, if any, from the edit control. WM_COPY
    An application sends the WM_COPY message to an edit control or combo box to copy the current selection to the clipboard in CF_TEXT format. WM_CUT
    An application sends a WM_CUT message to an edit control or combo box to delete (cut) the current selection, if any, in the edit control and copy the deleted text to the clipboard in CF_TEXT format. WM_PASTE
    An application sends a WM_PASTE message to an edit control or combo box to copy the current content of the clipboard to the edit control at the current caret position. Data is inserted only if the clipboard contains data in CF_TEXT format.