SECMarquee::SetTextWrap
BOOLSECMarquee::SetTextWrap(floatfraction= SEC_MARQUEE_WRAP_ON_HALF)
Set the text wrapping percentage.
Defined in: marquee.cpp
Return Value
TRUE if valid fraction, false if invalid.
Comments
The text wrapping mode determines how much blank space follows the end of a completed marquee message before a new message is "wrapped" around again. If set to 0, the new message wraps immediately. If set to 0.5, the end of the old message traverses 50% of the marquee width before the new message restarts. If set to 5.0, the end of the old message would traverse the distance of 5 complete lengths of the marquee before the new message wraps (i.e. there is a noticeable delay with empty space before new message wraps).
The fraction value can be any value greater than or equal to zero. The following values are available for convenience only:
SEC_MARQUEE_WRAP_IMMEDIATEMarquee wraps as soon as possible.
SEC_MARQUEE_WRAP_ON_HALFMarquee wraps when end clears half width.
SEC_MARQUEE_WRAP_ON_FULLMarquee wraps when end clears entire width.
Parameters
fraction
text fraction
See Also