导航:  Windows Controls Procedures > Rich Edit Control > Wrappers >

RichEdit_GetParaFormat

上一页返回章节概述下一页

描述

 

检索富编辑控件中当前选择的段落格式.您可以使用此功能或发送EM_GETPARAFORMAT消息明确.

 

FreeBasic Syntax

FUNCTION RichEdit_GetParaFormat ( _

BYVAL hRichEdit AS HWND, _

BYVAL pParaFmt AS PARAFORMAT PTR _

) AS DWORD

 

参数

hRichEdit

[in]富文本编辑器控件的句柄

pParamFmt

[in]指向PARAFORMAT结构接收的段落格式属性的当前选择.

 

If more than one paragraph is selected, the structure receives the attributes of the first paragraph, and the dwMask member specifies which attributes are consistent throughout the entire selection.

 

Microsoft Rich Edit 2.0 and later: This parameter can be a pointer to a PARAFORMAT2 structure, which is an extension of the PARAFORMAT structure. Before sending the EM_GETPARAFORMAT message, set the structure's cbSize member to indicate the version of the structure.

 

Return Value

 

此消息返回dwMask的成员PARAFORMAT结构.?M胕?

 

最低操作系统

 

Windows NT 4.0. 95,

 

引用文件

 

AfcRichEdit.inc