25 lines
2.5 KiB
Plaintext
25 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;\red0\green0\blue128;\red128\green0\blue0;}
|
||
\deflang1033\pard\plain\f2\fs36\cf1\b Dockable Property Pages\plain\f2\fs24\b
|
||
\par \plain\f2\fs28\cf2\b COXDialogBar,COXDockPropertyPage,COXDockPropertySheet.\plain\f2\fs24\b
|
||
\par \plain\f2\fs20 These three classes deliver a property sheet with a number of property pages similar to a dockable control bar.\plain\f2\fs24
|
||
\par \plain\f2\fs20 This demo describes the most important features of the COXDialogBar class.\plain\f2\fs24
|
||
\par \plain\f2\fs18\b
|
||
\par Features:\plain\f2\fs24\b
|
||
\par \pard\li720\fi-360{\*\pn\pnlvlblt\pnf1\pnindent360{\pntxtb\'b7}}\plain\f2\fs20 {\pntext\f1\'b7\tab}has identical interface as property sheets and pages\plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}a control bar as container --> dockable or mini framewindow\plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}adding/removing of pages at run-time\plain\f2\fs24
|
||
\par \pard\plain\f2\fs20
|
||
\par \plain\f2\fs28\cf2\b COXDialogBar:\plain\f2\fs24\b
|
||
\par \plain\f2\fs20 You do not have to derive from this class. Just add it to your project as COXDockPropertySheet uses it. Only when making a special memory template, a different look for example, do you derive from this class and overload the virtual function CreateMemDialog();\plain\f2\fs24
|
||
\par \plain\f2\fs28\cf2\b COXDockPropertyPage:\plain\f2\fs24\b
|
||
\par \plain\f2\fs20 Pay special attention to the extra parameter (bDynamic) that both constructors have. Use this parameter if you have created this page on the heap (= dynamically, with new) and want the COXDockPropertySheet to take care of its destruction.\plain\f2\fs24
|
||
\par \plain\f2\fs20 The two virtual functions, OnSetActive and OnKillActive, work the same way as in CPropertyPage.\plain\f2\fs24
|
||
\par \plain\f2\fs28\cf2\b COXDockPropertySheet:\plain\f2\fs24\b
|
||
\par \plain\f2\fs20 Uses COXDialogBar and COXDockPropertyPage. Behavior is similar to CPropertySheet.\plain\f2\fs24
|
||
\par \pard\li720\fi-360{\*\pn\pnlvlblt\pnf1\pnindent360{\pntxtb\'b7}}\plain\f2\fs20 {\pntext\f1\'b7\tab}It resizes all windows until its property page area fits the largest Property page added.\plain\f2\fs24
|
||
\par \plain\f2\fs20 {\pntext\f1\'b7\tab}Property pages can be added/removed during run time.\plain\f2\fs24
|
||
\par \pard\plain\f2\fs24\b
|
||
\par \pard\plain\f3\fs20
|
||
\par }
|
||
|