EM_REPLACESEL message
来源:互联网 发布:抗日知乎 编辑:程序博客网 时间:2024/06/05 23:51
Replaces the selected text in an edit control or a rich edit control with the specified text.
Parameters
- wParam
Specifies whether the replacement operation can be undone. If this is TRUE, the operation can be undone. If this isFALSE , the operation cannot be undone.
- lParam
A pointer to a null-terminated string containing the replacement text.
Return value
This message does not return a value.
Remarks
Use the EM_REPLACESEL message to replace only a portion of the text in an edit control. To replace all of the text, use the WM_SETTEXT message.
If there is no selection, the replacement text is inserted at the caret.
Rich Edit: Supported in Microsoft Rich Edit 1.0 and later. For information about the compatibility of rich edit versions with the various system versions, see About Rich Edit Controls.
In a rich edit control, the replacement text takes the formatting of the character at the caret or, if there is a selection, of the first character in the selection.
Requirements
Minimum supported client
Minimum supported server
Header
- Winuser.h (include Windows.h)
- EM_REPLACESEL message
- RICHEDIT EM_SETTEXTEX & EM_REPLACESEL
- message
- message
- message
- Message
- Message
- Message
- Message
- Message
- Message
- Message
- Message
- message
- message
- message
- RichEdit控件在处理EM_REPLACESEL消息中有bug?附一种解决办法
- RichEdit控件在处理EM_REPLACESEL消息中有bug?附一种解决办法
- 各种字符串Hash函数比较
- Deep learning:十八(关于随机采样)
- 策略模式
- EM_EXSETSEL
- TCP/IP
- EM_REPLACESEL message
- 两种写法,为什么第二种就总崩溃呢
- centos 6 升级gcc
- 图像特征点匹配之两幅图像中的对应关键点连线
- 快速排序法之一
- sip info 方法 发起 h264关键帧请求
- VS2010给对话框上添加浏览器显示网页
- 1.Go环境配置
- mpi+openmp程序需要注意事项