ATTR_INFO

Used by EE_GET_ATTR message.

typedef struct _ATTR_INFO {
	size_t cbSize; // in
	POINT_PTR ptLogical; // in
	UINT nFlags; // in
	UINT nAttr; // out
	WCHAR szConfigScope[MAX_CONFIG_NAME]; // out
	WCHAR szConfigDoc[MAX_CONFIG_NAME]; // out
} ATTR_INFO;

Members

cbSize

[In] Size of this data structure, in bytes. Set this member to sizeof( ATTR_INFO ) before sending the EE_GET_ATTR message.

ptLogical

[In] Specifies the position in the logical coordinate where information should be retrieved.

nFlags

[In] Specifies a combination of the following values.

AI_NEED_CONFIG_SCOPE

Needs the name of the configuration (scope) at the specified position on the active document.

AI_NEED_CONFIG_DOC

Needs the name of the configuration selected for the active document.

AI_NEED_ATTR_SUB

Saves the temporary text specified by nID.

AI_NEED_ALL

Needs all the above information.

nAttr

[Out] This member contains one of the following values.

ATTR_NONE

Normal text.

ATTR_COMMENT

A comment.

ATTR_DOUBLE_QUOTE

Inside double quotes.

ATTR_SINGLE_QUOTE

Inside single quotes.

ATTR_TAG

Inside a tag.

pszConfigScope

[Out] This member contains the name of the configuration (scope) at the specified position on the active document if nFlags contains AI_NEED_CONFIG_SCOPE.

pszConfigDoc

[Out] This member contains the name of the configuration selected for the active document if nFlags contains AI_NEED_CONFIG_DOC.

Version

Supported on Version 9.00 or later.