ITextHost2::TxGetEditStyle method (textserv.h)
Gets whether a rich edit control is in a dialog box.
Syntax
HRESULT TxGetEditStyle(
DWORD dwItem,
DWORD *pdwData
);
Parameters
dwItem
Type: DWORD
Mask that indicates the edit style flags to retrieve. It can be the following value.
TXES_ISDIALOG
pdwData
Type: DWORD*
Value | Meaning |
---|---|
|
Indicates that the host of the rich edit control is a dialog box. |
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | textserv.h |
DLL | Msftedit.dll |