网站首页
词典首页
请输入您要查询的计算机术语:
术语
CEdit::CharFromPos
释义
CEdit::CharFromPos
int CharFromPos(CPoint pt) const;
返回值:
返回WORD低位的字符索引,以及WORD高位的行索引。
参数:
pt
在客户区域中的CEdit对象的点的坐标。
说明:
调用该函数来获取基于0索引的行和最接近CEdit控件中指定点的字符索引。
注意:该成员函数在Windows 95和Windows NT 4.0中有效。
要了解更多的信息,请参阅Win 32文档中的EM_CHARFROMMOPS。
请参阅:CEdit::PosFromChar
随便看
CRichEditView::GetPrintWidth
CRichEditView::GetRichEditCtrl
CRichEditView::GetSelectedItem
CRichEditView::GetTextLength
CRichEditView::InsertFileAsObject
CRichEditView::InsertItem
CRichEditView::IsRichEditFormat
CRichEditView::IsSelected
CRichEditView::m_nBulletIndent
CRichEditView::m_nWordWrap
CRichEditView::OnCharEffect
CRichEditView::OnFindNext
CRichEditView::OnInitialUpdate
CRichEditView::OnParaAlign
CRichEditView::OnPasteNativeObject
CRichEditView::OnPrinterChanged
CRichEditView::OnReplaceAll
CRichEditView::OnReplaceSel
CRichEditView::OnTextNotFound
CRichEditView::OnUpdateCharEffect
CRichEditView::OnUpdateParaAlign
CRichEditView::PrintInsideRect
CRichEditView::PrintPage
CRichEditView::QueryAcceptData
CRichEditView::SetCharFormat
MFC类库中文详解手册包含4274条MFC类库参考词条,基本涵盖了Microsoft基本类库中的类、全局函数、全局变量和宏的内容,是计算机编程的有利工具。
Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40
更新时间:2025/1/23 8:18:06