2025-11-27 16:46:48 +09:00

21 lines
2.7 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{\rtf1\ansi\deff0\deftab720{\fonttbl{\f0\fswiss MS Sans Serif;}{\f1\froman\fcharset2 Symbol;}{\f2\froman Times New Roman;}{\f3\froman Times New Roman;}}
{\colortbl\red0\green0\blue0;\red0\green0\blue128;}
\deflang1033\pard\plain\f2\fs36\cf1\b COXStaticText\plain\f2\fs24
\par \plain\f2\fs20 Ultimate ToolBox \plain\f2\fs20\b COXStaText\plain\f2\fs20 class is a control where a user can put text in. The normal look of this control is similar to a static control \endash it just sets a text string. But unlike the \plain\f2\fs20\b MFC\plain\f2\fs20 's \plain\f2\fs20\b CStatic\plain\f2\fs20 , this class allows a user to give that text a special appearance.\plain\f2\fs24
\par \plain\f2\fs24\b Features:
\par \pard\li720\fi-360{\*\pn\pnlvlblt\pnf1\pnindent360{\pntxtb\'b7}}\plain\f2\fs20 {\pntext\f1\'b7\tab}change the text \plain\f2\fs20\b color\plain\f2\fs20 and background color;\plain\f2\fs24
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}set and get the text \plain\f2\fs20\b font\plain\f2\fs20 and \plain\f2\fs20\b attributes\plain\f2\fs20 ;\plain\f2\fs24
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}draw \plain\f2\fs20\b 3D\plain\f2\fs20 text (embossed text);\plain\f2\fs24
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}draw \plain\f2\fs20\b 3D\plain\f2\fs20 text (\plain\f2\fs20\b offset\plain\f2\fs20 in pixels);\plain\f2\fs24
\par \plain\f2\fs20\b {\pntext\f1\'b7\tab}scroll\plain\f2\fs20 text in any direction;\plain\f2\fs24
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}set and get scrolling \plain\f2\fs20\b speed\plain\f2\fs20 (in pixels per second);\plain\f2\fs24
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}draw text under an \plain\f2\fs20\b angle\plain\f2\fs20 ;\plain\f2\fs24
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}draw \plain\f2\fs20\b ellipses\plain\f2\fs20 at the begin end or middle of a text string;\plain\f2\fs24
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}drawing special \plain\f2\fs20\b borders\plain\f2\fs20 : sunken, raised, flat line, dotted line.\plain\f2\fs24
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}multi-threaded, consumes very little processortime when scrolling\plain\f2\fs24
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}Appearance of \plain\f2\fs20\b COXStaticText\plain\f2\fs20 control can be changed \plain\f2\fs20\b on the fly\plain\f2\fs20 . User can set any control property at any moment of time, and result of this modification will be visible immediately.\plain\f2\fs24
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}Text scrolling is carried out by a separate worker thread.\plain\f2\fs24
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}User can tune the text scrolling smoothness in order to minimize processor consuming\plain\f2\fs24
\par \pard\plain\f3\fs20
\par }