CRichEditCtx.GetTouchOptionsmethod
Syntax
FUNCTION GetTouchOptions (BYVAL opt AS LONG PTR) AS DWORD
Also documented as
TouchOptions — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
opt | (GET/SET) The touch options to set. It can be one of the following values: RTO_SHOWHANDLES. Show or hide the touch gripper handles, depending on the value of opt. RTO_DISABLEHANDLES. Enable or disable the touch gripper handles, depending on the value of opt. When handles are disabled, they are hidden if they are visible and remain hidden until TouchOptions changes their status. | |
fEnable | (SET) Set to TRUE to show/enable the touch selection handles, or FALSE to hide/disable the touch selection handles. |
Return value
(GET) Returns the value of the option specified by the opt parameter. It is nonzero if opt is RTO_SHOWHANDLES and the touch grippers are visible; zero, otherwise.
(SET) Returns TRUE if opt is valid, otherwise FALSE.
Description
Gets/sets the touch options that are associated with a rich edit control.
Remarks
Advanced line breaking is turned on automatically by the rich edit control when needed, such as for handling complex scripts like Arabic and Hebrew, and for mathematics. It s also needed for justified paragraphs, hyphenation, and other typographic features.
Example
(GET) PROPERTY TouchOptions (BYVAL opt AS LONG PTR) AS DWORD (SET) PROPERTY TouchOptions (BYVAL opt AS LONG, BYVAL fEnable AS LONG)
Reference
- Defined in AfxNova/CRichEditCtx.inc:1853
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class