21 lines
2.5 KiB
Plaintext
21 lines
2.5 KiB
Plaintext
{\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;\red128\green0\blue0;\red0\green0\blue128;}
|
||
\deflang1033\pard\plain\f2\fs36\cf2\b ZoomView class \plain\f2\fs24
|
||
\par \plain\f2\fs24\cf1\b COXZoomview\plain\f2\fs28\cf1\b
|
||
\par \plain\f2\fs24\b
|
||
\par \plain\f2\fs20 Ultimate ToolBox COXZoomView class is a virtual base class for simple scrolling and scaling functionality. CZoomView was created with CScrollView as a template. It is almost 100% plug-in compatible with it, but to exploit all its features you have to adopt to its extended API, which is described beneath.
|
||
\par It displays its document scalable from 10% to 1000%, completely transparent for your derived view. This sample is based on the Scribble sample included with Visual C++.\plain\f2\fs24
|
||
\par \plain\f2\fs20\b Features:\plain\f2\fs24\b
|
||
\par \pard\li720\fi-360{\*\pn\pnlvlblt\pnf1\pnindent360{\pntxtb\'b7}}\plain\f2\fs20 {\pntext\f1\'b7\tab}Handles MM_ANISOTROPIC.\plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}Scrollsizes now definable in percent of the client area, updated on resizing.\plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}ScrollToPosition allows the anchor to be the upper left corner, or additionally the lower left corner or the center of the window.\plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}Accepts a CRect for the document size, so the origin can be located in the lower left corner or the center or any arbitrary point of the document. You don't need to handle negative y-coords any more ! \plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}Zoom level can vary between 10% and 1000%\plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}When zooming, either keeps the upper left window corner, the lower left window corner or keeps the center.\plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}Allows zooming up to a rectangle ( in client coords ).\plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}After zooming, the rectangle can be justified to either the upper left or lower left corner or to the window center.\plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}Allows zooming to the window size (so the scrollbars just disappear).\plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}Output can be aligned to the bottom of the view, when the view's height is bigger than the document's.\plain\f2\fs24
|
||
\par \pard\plain\f3\fs20
|
||
\par }
|
||
|