home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / starview / doc / quickref.txt < prev    next >
Text File  |  1992-07-31  |  96KB  |  2,324 lines

  1. 1 Klassen-Referenz
  2.  
  3. Accelerator : Resource  1
  4.  
  5. virtual void    Accelerator::   Activate()  5
  6. virtual void    Accelerator::   Deactivate()    5
  7. virtual void    Accelerator::   Select()    6
  8.                 Accelerator::   Accelerator()   6
  9.                 Accelerator::   Accelerator( ResId& rResId )    6
  10. virtual         Accelerator::   ~Accelerator()  7
  11. BOOL            Accelerator::   InsertItem(USHORT nItemId,const KeyCode&rKeyCode)   7
  12. BOOL            Accelerator::   InsertItem( ResId& rResId ) 8
  13. void            Accelerator::   RemoveItem( USHORT nItemId )    8
  14. USHORT          Accelerator::   GetItemCount() const    9
  15. USHORT          Accelerator::   GetItemId( USHORT nPos ) const  9
  16. USHORT          Accelerator::   GetItemId(const KeyCode& rKeyCode )const    10
  17. USHORT          Accelerator::   GetCurItemId() const    10
  18. KeyCode         Accelerator::   GetCurKeyCode() const   11
  19. USHORT          Accelerator::   GetCurRepeat() const    11
  20. BOOL            Accelerator::   IsCancel() const    12
  21. Accelerator*    Accelerator::   ChangeAccel( USHORT nItemId, Accelerator*pAccel )   12
  22. Accelerator*    Accelerator::   GetAccel( USHORT nItemId ) const    13
  23. void            Accelerator::   EnableItem( USHORT nItemId, BOOL bEnable = TRUE )   13
  24. BOOL            Accelerator::   IsItemEnabled( USHORT nItemId ) const   14
  25. KeyCode         Accelerator::   ChangeKeyCode( USHORT nItemId, const KeyCode& rKeyCode )    14
  26. KeyCode         Accelerator::   GetKeyCode( USHORT nItemId ) const  15
  27. void            Accelerator::   SetHelpText( const String& rHelpString )    15
  28. String          Accelerator::   GetHelpText() const 16
  29. USHORT          Accelerator::   GetHelpTextLen() const  16
  30. void            Accelerator::   PushActivateHdl( const Link& rLink )    16
  31. Link            Accelerator::   PopActivateHdl()    17
  32. void            Accelerator::   PushDeactivateHdl( const Link& rLink )  17
  33. Link            Accelerator::   PopDeactivateHdl()  18
  34. void            Accelerator::   PushSelectHdl( const Link& rLink )  18
  35. Link            Accelerator::   PopSelectHdl()  19
  36.  
  37. Application 21
  38.  
  39. void            Application::   Execute()   24
  40. virtual BOOL    Application::   QueryExit() 24
  41. virtual void    Application::   SysChange( SysChangeType eChgType)  25
  42. virtual void    Application::   ActivateExtHelp()   25
  43. virtual void    Application::   DeactivateExtHelp() 26
  44.                 Application::   Application()   26
  45. virtual         Application::   ~Application()  26
  46. virtual void    Application::   Main( int nArgc, char* pArgv[]) = 0 27
  47. BOOL            Application::   IsInMain() const    28
  48. BOOL            Application::   IsInExecute() const 29
  49. void            Application::   Wait( BOOL bWait = TRUE )   29
  50. BOOL            Application::   IsWait() const  30
  51. BOOL            Application::   AnyInput()  30
  52. void            Application::   Quit()  30
  53. void            Application::   Reschedule()    31
  54. BOOL            Application::   InsertIdleHdl(const Link& rLink,USHORT nPriority)   32
  55. void            Application::   RemoveIdleHdl( const Link& rLink )  33
  56. WorkWindow*     Application::   GetAppWindow() const    34
  57. MenuBar*        Application::   ChangeAppMenu( MenuBar* pAppMenu = NULL )   34
  58. MenuBar*        Application::   GetAppMenu() const  35
  59. Font            Application::   ChangeAppFont( const Font& rFont )  35
  60. Font            Application::   GetAppFont() const  36
  61. BOOL            Application::   InsertAccel( Accelerator* pAccel )  37
  62. void            Application::   RemoveAccel( Accelerator* pAccel )  37
  63. void            Application::   FlushAccel()    38
  64. Help*           Application::   ChangeHelp( Help* pHelp = NULL )    38
  65. Help*           Application::   GetHelp() const 39
  66. void            Application::   EnableHelp( HelpMode eHelpMode )    39
  67. void            Application::   DisableHelp( HelpMode eHelpMode )   40
  68. BOOL            Application::   IsHelpEnabled( HelpMode eHelpMode ) const   40
  69.  
  70. AutoCheckBox : CheckBox 43
  71.  
  72.                 AutoCheckBox::  AutoCheckBox( Window* pParent, WinBits nWinStyle = 0)   43
  73.                 AutoCheckBox::  AutoCheckBox( Window* pParent, ResId& rResId )  44
  74.  
  75. AutoRadioButton : RadioButton   45
  76.  
  77.                 AutoRadioButton::   AutoRadioButton( Window* pParent, WinBits nWinStyle = 0 )   45
  78.                 AutoRadioButton::   AutoRadioButton( Window* pParent, ResId& rResId )   46
  79.  
  80. AutoScrollBar : ScrollBar   47
  81.  
  82.                 AutoScrollBar:: AutoScrollBar( Window* pParent,
  83.                                                WinBits nWinStyle = WB_VSCROLL ) 47
  84.                 AutoScrollBar:: AutoScrollBar( Window* pParent, ResId& rResId ) 48
  85.  
  86. AutoTimer : Timer   49
  87.  
  88.                 AutoTimer:: AutoTimer() 49
  89. virtual         AutoTimer:: ~AutoTimer()    49
  90.  
  91. AutoTriStateBox : TriStateBox   51
  92.  
  93.                 AutoTriStateBox::   AutoTriStateBox( Window* pParent, WinBits nWinStyle = 0 )   51
  94.                 AutoTriStateBox::   AutoTriStateBox( Window* pParent, ResId& rResId )   52
  95.  
  96. Bitmap : Resource   53
  97.  
  98.                 Bitmap::    Bitmap()    54
  99.                 Bitmap::    Bitmap( const Bitmap& rBitmap ) 54
  100.                 Bitmap::    Bitmap( ResId& rResId ) 54
  101. virtual         Bitmap::    ~Bitmap()   55
  102. Size            Bitmap::    GetSizePixel() const    55
  103. ULONG           Bitmap::    GetColorCount() const   55
  104. Bitmap&         Bitmap::    operator =( const Bitmap& rBitmap ) 55
  105. BOOL            Bitmap::    operator ==( const Bitmap& rBitmap ) const  56
  106. BOOL            Bitmap::    operator !=( const Bitmap& rBitmap ) const  56
  107.  
  108. Brush : Resource    59
  109.  
  110.                 Brush:: Brush() 62
  111.                 Brush:: Brush( const Brush& rBrush )    62
  112.                 Brush:: Brush( BrushStyle eStyle )  62
  113.                 Brush:: Brush( const Color& rColor, BrushStyle eStyle=BRUSH_SOLID ) 63
  114.                 Brush:: Brush( const Color& rColor, const Color& rFillColor,
  115.                                BrushStyle eStyle )  63
  116.                 Brush:: Brush( Bitmap& rBitmap )    64
  117.                 Brush:: Brush( ResId& rResId )  64
  118. virtual         Brush:: ~Brush()    65
  119. Color           Brush:: ChangeColor( const Color& rColor )  65
  120. Color           Brush:: GetColor() const    65
  121. Color           Brush:: ChangeFillColor( const Color& rColor )  66
  122. Color           Brush:: GetFillColor() const    66
  123. BrushStyle      Brush:: ChangeStyle( BrushStyle eStyle )    66
  124. BrushStyle      Brush:: GetStyle() const    67
  125. Bitmap          Brush:: ChangeBitmap( const Bitmap& rBitmap )   67
  126. Bitmap          Brush:: GetBitmap() 68
  127. BOOL            Brush:: ChangeTransparent( BOOL bTransparent )  68
  128. BOOL            Brush:: IsTransparent() const   69
  129. BOOL            Brush:: IsHatched() const   69
  130. Brush&          Brush:: operator =( const Brush& rBrush )   70
  131. BOOL            Brush:: operator ==( const Brush& rBrush ) const    70
  132. BOOL            Brush:: operator !=( const Brush& rBrush ) const    71
  133.  
  134. Button : Control    73
  135.  
  136. virtual void    Button::    Click() 74
  137.                 Button::    Button( Window* pParent, WinBits nWinStyle = 0 )    74
  138.                 Button::    Button( Window* pParent, ResId& rResId )    75
  139. virtual         Button::    ~Button()   75
  140. Link            Button::    ChangeClickHdl( const Link& rLink ) 75
  141. Link            Button::    GetClickHdl() const 76
  142.  
  143. CheckBox : Button   77
  144.  
  145.                 CheckBox::  CheckBox( Window* pParent, WinBits nWinStyle = 0 )  77
  146.                 CheckBox::  CheckBox( Window* pParent, ResId& rResId )  78
  147. void            CheckBox::  Check( BOOL bCheck = TRUE ) 78
  148. BOOL            CheckBox::  IsChecked() const   79
  149.  
  150. Clipboard   81
  151.  
  152. virtual void    Clipboard:: Request()   82
  153. virtual void    Clipboard:: Cleared()   83
  154.                 Clipboard:: Clipboard() 84
  155.                 Clipboard:: ~Clipboard()    84
  156. static void     Clipboard:: Clear() 84
  157. static BOOL     Clipboard:: CopyString( const String& rStr )    84
  158. static BOOL     Clipboard:: CopyBitmap( const Bitmap& rBitmap ) 85
  159. static BOOL     Clipboard:: CopyData( const void* pData, ULONG nLen, ULONG nFormat )    86
  160. static BOOL     Clipboard:: CopyRequest( ULONG nFormat )    87
  161. static ULONG    Clipboard:: GetRequestFormat()  87
  162. static ULONG    Clipboard:: RegisterFormatName( const String& rName )   88
  163. static String   Clipboard:: GetFormatName( ULONG nFormat )  89
  164. static USHORT   Clipboard:: GetFormatCount()    89
  165. static ULONG    Clipboard:: GetFormat( USHORT nPos )    90
  166. static BOOL     Clipboard:: HasFormat( ULONG nFormat )  91
  167. static String   Clipboard:: PasteString()   92
  168. static Bitmap   Clipboard:: PasteBitmap()   92
  169. static ULONG    Clipboard:: GetDataLen( ULONG nFormat ) 93
  170. static BOOL     Clipboard:: PasteData( void* pBuf, ULONG nLen, ULONG nFormat )  93
  171. Link            Clipboard:: ChangeRequestHdl( const Link& rLink )   94
  172. Link            Clipboard:: GetRequestHdl() const   95
  173. Link            Clipboard:: ChangeClearedHdl( const Link& rLink )   95
  174. Link            Clipboard:: GetClearedHdl() const   96
  175.  
  176. Color : Resource    97
  177.  
  178.                 Color:: Color() 100
  179.                 Color:: Color( ColorName eColorName )   100
  180.                 Color:: Color( USHORT nRed, USHORT nGreen, USHORT nBlue )   101
  181.                 Color:: Color( ResId& rResId )  101
  182. virtual         Color:: ~Color()    101
  183. USHORT          Color:: ChangeRed( USHORT nRed )    102
  184. USHORT          Color:: GetRed() const  102
  185. USHORT          Color:: ChangeGreen( USHORT nGreen )    102
  186. USHORT          Color:: GetGreen() const    103
  187. USHORT          Color:: ChangeBlue( USHORT nBlue )  103
  188. USHORT          Color:: GetBlue() const 104
  189. ColorName       Color:: ChangeColorName( ColorName eColorName ) 104
  190. ColorName       Color:: GetColorName() const    105
  191. BOOL            Color:: operator ==( const Color& rColor ) const    105
  192. BOOL            Color:: operator !=( const Color& rColor ) const    106
  193.  
  194. ComboBox : ListBox  107
  195.  
  196. virtual void    ComboBox::  Modify()    108
  197.     ComboBox::  ComboBox( Window* pParent, WinBits nWinStyle = 0 )  108
  198.     ComboBox::  ComboBox( Window* pParent, ResId& rResId )  109
  199. USHORT          ComboBox::  ChangeMaxTextLen( USHORT nMaxLen = EDIT_NOLIMIT )   109
  200. USHORT          ComboBox::  GetMaxTextLen() const   110
  201. BOOL            ComboBox::  IsModified() const  110
  202. BOOL            ComboBox::  IsSetTextModified() const   111
  203. Selection       ComboBox::  ChangeSelection( const Selection& rSel )    111
  204. Selection       ComboBox::  GetSelection() const    112
  205. String          ComboBox::  GetSelected() const 112
  206. Link            ComboBox::  ChangeModifyHdl( const Link& rLink )    112
  207. Link            ComboBox::  GetModifyHdl() const    113
  208.  
  209. Config  115
  210.  
  211.                 Config::    Config()    116
  212.                 Config::    Config( const String& rFileName )   116
  213.                 Config::    Config( const Config& rConfig ) 117
  214.                 Config::    ~Config()   117
  215. void            Config::    SetGroup( const String& rGroup )    117
  216. String          Config::    GetGroup() const    118
  217. void            Config::    DeleteGroup( const String& rGroup ) 118
  218. void            Config::    WriteKey( const String& rKey, const String& rValue )    118
  219. String          Config::    ReadKey( const String& rKey ) const 119
  220. String          Config::    ReadKey( const String& rKey, const String& rDefault ) const 119
  221. void            Config::    DeleteKey( const String& rKey ) 120
  222. Config&         Config::    operator =( const Config& rConfig ) 120
  223. BOOL            Config::    operator ==( const Config& rConfig ) const  121
  224. BOOL            Config::    operator !=( const Config& rConfig ) const  121
  225.  
  226. Container   553
  227.  
  228.                 Container:: Container( USHORT nBlockSize, USHORT nInitSize,
  229.                                        USHORT nReSize ) 555
  230.                 Container:: Container( ULONG nSize )    556
  231.                 Container:: Container( const Container& rCont ) 557
  232. virtual         Container:: ~Container()    557
  233. void            Container:: Insert( void* p )   557
  234. void            Container:: Insert( void* p, ULONG nPos )   558
  235. void            Container:: Insert( void* pNew, void* pOld )    558
  236. void*           Container:: Remove()    559
  237. void*           Container:: Remove( ULONG nPos )    559
  238. void*           Container:: Remove( void* p )   560
  239. void*           Container:: Replace( void* p )  560
  240. void*           Container:: Replace( void* p, ULONG nPos )  561
  241. void*           Container:: Replace( void* pNew, void* pOld )   561
  242. ULONG           Container:: ChangeSize( ULONG nNewSize )    562
  243. ULONG           Container:: GetSize() const 562
  244. ULONG           Container:: Count() const   563
  245. void            Container:: Clear() 563
  246. void*           Container:: GetCurObject() const    563
  247. ULONG           Container:: GetCurPos() const   564
  248. void*           Container:: GetObject( ULONG nPos ) const   564
  249. ULONG           Container:: GetPos( void* p ) const 564
  250. void*           Container:: Seek( ULONG nPos )  565
  251. void*           Container:: Seek( void* p ) 565
  252. void*           Container:: First() 566
  253. void*           Container:: Last()  566
  254. void*           Container:: Next()  567
  255. void*           Container:: Prev()  567
  256. Container&      Container:: operator =( const Container& rCont )    567
  257. BOOL            Container:: operator ==( const Container& rCont ) const 568
  258. BOOL            Container:: operator !=( const Container& rCont ) const 568
  259.  
  260. Control : Window    123
  261.  
  262. virtual void    Control::   GetFocus()  126
  263. virtual void    Control::   LooseFocus()    126
  264.                 Control::   Control( Window* pParent, WinBits nWinStyle  = 0 )  127
  265.                 Control::   Control( Window* pParent, ResId& rResId )   127
  266. virtual         Control::   ~Control()  128
  267. void            Control::   ShowFocus( const Rectangle& rRect ) 128
  268. void            Control::   HideFocus() 129
  269. void            Control::   DrawCtrlText( const Point& rPos, const String& rText,
  270.                                         USHORT nIndex = 0,
  271.                                         USHORT nLen = STRING_LEN )  129
  272. Size            Control::   GetCtrlTextSize( const String& rStr, USHORT nIndex =0,
  273.                                             USHORT nLen = STRING_LEN ) const    130
  274. Link            Control::   ChangeGetFocusHdl( const Link& rLink )  130
  275. Link            Control::   GetGetFocusHdl() const  131
  276. Link            Control::   ChangeLooseFocusHdl( const Link& rLink )    131
  277. Link            Control::   GetLooseFocusHdl() const    132
  278.  
  279. Cursor  133
  280.  
  281.                 Cursor::    Cursor()    134
  282.                 Cursor::    Cursor( const Cursor& rCursor ) 134
  283.                 Cursor::    ~Cursor()   134
  284. void            Cursor::    Show()  135
  285. void            Cursor::    Hide()  135
  286. BOOL            Cursor::    IsVisible() const   135
  287. Point           Cursor::    ChangePos( const Point& rPos )  136
  288. Point           Cursor::    GetPos() const  136
  289. Size            Cursor::    ChangeSize( const Size& rSize ) 137
  290. Size            Cursor::    GetSize() const 137
  291. short           Cursor::    ChangeSlant( short nSlant = 0 ) 138
  292. short           Cursor::    GetSlant() const    138
  293. Cursor&         Cursor::    operator =( const Cursor& rCursor ) 139
  294. BOOL            Cursor::    operator ==( const Cursor& rCursor ) const  139
  295. BOOL            Cursor::    operator !=( const Cursor& rCursor ) const  140
  296.  
  297. DefPushButton : PushButton  141
  298.  
  299.                 DefPushButton:: DefPushButton( Window* pParent, WinBits nWinStyle = 0 ) 141
  300.                 DefPushButton:: DefPushButton( Window* pParent, ResId& rResId ) 142
  301.  
  302. Dialog : SystemWindow   143
  303.  
  304. virtual         Dialog::    ~Dialog()   144
  305.  
  306. DropDownComboBox : ComboBox 145
  307.  
  308. virtual void    DropDownComboBox::  DropDown()  145
  309.                 DropDownComboBox::  DropDownComboBox( Window* pParent, WinBits nWinStyle = 0)   146
  310.                 DropDownComboBox::  DropDownComboBox( Window* pParent, ResId& rResId)   146
  311. Link            DropDownComboBox::  ChangeDropDownHdl( const Link& rLink)   147
  312. Link            DropDownComboBox::  GetDropDownHdl() const  148
  313.  
  314. DropDownListBox : ListBox   149
  315.  
  316. virtual void    DropDownListBox::   DropDown()  150
  317.                 DropDownListBox::   DropDownListBox( Window* pParent, WinBits nWinStyle = 0 )   150
  318.                 DropDownListBox::   DropDownListBox( Window* pParent, ResId& rResId )   151
  319. Link            DropDownListBox::   ChangeDropDownHdl( const Link& rLink )  151
  320. Link            DropDownListBox::   GetDropDownHdl() const  152
  321.  
  322. DynArray : Container    569
  323.  
  324. DECLARE_DYNARRAY( ClassName, Type ) 570
  325.                 DynArray::  DynArray( ULONG nSize = 16 )    571
  326.                 DynArray::  DynArray( const DynArray& rAry )    571
  327. virtual         DynArray::  ~DynArray() 572
  328. void*           DynArray::  Put( ULONG nPos, void* p )  572
  329. void*           DynArray::  Get( ULONG nPos ) const 572
  330. ULONG           DynArray::  ChangeSize( ULONG nNewSize )    573
  331. ULONG           DynArray::  GetSize() const 573
  332. void            DynArray::  Clear() 574
  333. DynArray&       DynArray::  operator =( const DynArray& rAry )  574
  334. BOOL            DynArray::  operator ==( const DynArray& rAry ) const   575
  335. BOOL            DynArray::  operator !=( const DynArray& rAry ) const   575
  336.  
  337. Edit : Control  153
  338.  
  339. virtual void    Edit::  Modify()    154
  340. USHORT          Edit::  ChangeMaxTextLen( USHORT nMaxLen = EDIT_NOLIMIT )   155
  341. USHORT          Edit::  GetMaxTextLen() const   155
  342. BOOL            Edit::  IsModified() const  156
  343. BOOL            Edit::  IsSetTextModified() const   156
  344. Selection       Edit::  ChangeSelection( const Selection& rSel )    157
  345. Selection       Edit::  GetSelection() const    157
  346. void            Edit::  ReplaceSelected( const String& rStr )   158
  347. void            Edit::  DeleteSelected()    158
  348. String          Edit::  GetSelected() const 158
  349. void            Edit::  Cut()   159
  350. void            Edit::  Copy()  159
  351. void            Edit::  Paste() 159
  352. Link            Edit::  ChangeModifyHdl( const Link& rLink )    160
  353. Link            Edit::  GetModifyHdl() const    160
  354.  
  355. ErrorBox : MessBox  161
  356.  
  357.                 ErrorBox::  ErrorBox( Window* pParent, WinBits nWinStyle,
  358.                                         const String& rMessage )    161
  359.                 ErrorBox::  ErrorBox( Window* pParent, ResId& rResId )  162
  360.  
  361. FixedBitmap : Control   165
  362.  
  363.                 FixedBitmap::   FixedBitmap(Window* pParent, WinBits nWinStyle = 0 )    165
  364.                 FixedBitmap::   FixedBitmap( Window* pParent, ResId& rResId )   166
  365. Bitmap          FixedBitmap::   ChangeBitmap( const Bitmap& rBitmap )   166
  366. Bitmap          FixedBitmap::   GetBitmap() const   166
  367.  
  368. FixedIcon : Control 169
  369.  
  370.                 FixedIcon:: FixedIcon( Window* pParent, WinBits nWinStyle = 0 ) 169
  371.                 FixedIcon:: FixedIcon( Window* pParent, ResId& rResId ) 170
  372. Icon            FixedIcon:: ChangeIcon( const Icon& rIcon ) 170
  373. Icon            FixedIcon:: GetIcon() const 170
  374.  
  375. FixedText : Control 173
  376.  
  377. void            FixedText:: FixedText( Window* pParent, WinBits nWinStyle = WB_LEFT )   173
  378.                 FixedText:: FixedText( Window* pParent, ResId& rResId ) 174
  379.  
  380. Font : Resource 175
  381.  
  382.                 Font::  Font()  179
  383.                 Font::  Font( const Font& rFont )   179
  384.                 Font::  Font( const String& rName, const Size& rSize )  180
  385.                 Font::  Font( FontFamily eFamily, const Size& rSize )   180
  386.                 Font::  Font( ResId& rResId )   181
  387. virtual         Font::  ~Font() 181
  388. Color           Font::  ChangeColor( const Color& rColor )  181
  389. Color           Font::  GetColor() const    182
  390. Color           Font::  ChangeFillColor( const Color& rColor )  182
  391. Color           Font::  GetFillColor() const    183
  392. FontFamily      Font::  ChangeFamily( FontFamily eFamily )  183
  393. FontFamily      Font::  GetFamily() const   183
  394. String          Font::  ChangeName( const String& rName )   184
  395. String          Font::  GetName() const 184
  396. Size            Font::  ChangeSize( const Size& rSize ) 185
  397. Size            Font::  GetSize() const 185
  398. FontCharSet     Font::  ChangeCharSet( FontCharSet eCharSet )   186
  399. FontCharSet     Font::  GetCharSet() const  186
  400. FontPitch       Font::  ChangePitch( FontPitch ePitch ) 187
  401. FontPitch       Font::  GetPitch() const    187
  402. FontAlign       Font::  ChangeAlign( FontAlign eAlign ) 188
  403. FontAlign       Font::  GetAlign() const    188
  404. short           Font::  ChangeLineOrientation( short nLineOrient )  189
  405. short           Font::  GetLineOrientation() const  189
  406. short           Font::  ChangeCharOrientation( short nCharOrient )  189
  407. short           Font::  GetCharOrientation() const  190
  408. FontWeight      Font::  ChangeWeight( FontWeight eWeight )  190
  409. FontWeight      Font::  GetWeight() const   191
  410. BOOL            Font::  ChangeItalic( BOOL bItalic )    191
  411. BOOL            Font::  IsItalic() const    192
  412. BOOL            Font::  ChangeUnderline( BOOL bUnderline )  192
  413. BOOL            Font::  IsUnderline() const 193
  414. BOOL            Font::  ChangeStrikeout( BOOL bStrikeout )  193
  415. BOOL            Font::  IsStrikeout() const 194
  416. BOOL            Font::  ChangeOutline( BOOL bOutline )  194
  417. BOOL            Font::  IsOutline() const   195
  418. BOOL            Font::  ChangeShadow( BOOL bShadow )    196
  419. BOOL            Font::  IsShadow() const    196
  420. BOOL            Font::  ChangeTransparent( BOOL bTransparent )  197
  421. BOOL            Font::  IsTransparent() const   197
  422. Font&           Font::  operator =( const Font& rFont ) 198
  423. BOOL            Font::  operator ==( const Font& rFont ) const  198
  424. BOOL            Font::  operator !=( const Font& rFont ) const  199
  425.  
  426. FontMetric  201
  427.  
  428.                 FontMetric::    FontMetric()    203
  429.                 FontMetric::    FontMetric( const FontMetric& rMetric ) 203
  430.                 FontMetric::    ~FontMetric()   204
  431. Color           FontMetric::    GetColor() const    204
  432. Color           FontMetric::    GetFillColor() const    204
  433. FontFamily      FontMetric::    GetFamily() const   205
  434. String          FontMetric::    GetName() const 205
  435. String          FontMetric::    GetSize() const 206
  436. FontCharSet     FontMetric::    GetCharSet() const  206
  437. FontPitch       FontMetric::    GetPitch() const    206
  438. FontAlign       FontMetric::    GetAlign() const    207
  439. short           FontMetric::    GetLineOrientation() const  207
  440. short           FontMetric::    GetCharOrientation() const  208
  441. FontWeight      FontMetric::    GetWeight() const   208
  442. BOOL            FontMetric::    IsItalic() const    209
  443. BOOL            FontMetric::    IsUnderline() const 209
  444. BOOL            FontMetric::    IsStrikeout() const 210
  445. BOOL            FontMetric::    IsOutline() const   210
  446. BOOL            FontMetric::    IsShadow() const    211
  447. BOOL            FontMetric::    IsTransparent() const   211
  448. FontType        FontMetric::    GetType() const 212
  449. BOOL            FontMetric::    IsDeviceFont() const    212
  450. USHORT          FontMetric::    GetAscent() const   213
  451. USHORT          FontMetric::    GetDescent() const  213
  452. USHORT          FontMetric::    GetLeading() const  213
  453. BOOL            FontMetric::    ExistChar( char c ) const   214
  454. FontMetric&     FontMetric::    operator =( const FontMetric& rMetric ) 214
  455. BOOL            FontMetric::    operator ==( const FontMetric& rMetric ) const  215
  456. BOOL            FontMetric::    operator !=( const FontMetric& rMetric ) const  215
  457.  
  458. Fraction    577
  459.  
  460.  
  461.                 Fraction::  Fraction()  578
  462.                 Fraction::  Fraction( short nNum, short nDen = 1 )  578
  463.                 Fraction::  Fraction( double dValue )   578
  464. BOOL            Fraction::  IsValid() const 579
  465. short           Fraction::  GetNumerator() const    579
  466. short           Fraction::  GetDenominator() const  579
  467.                 Fraction::  operator short() const  580
  468.                 Fraction::  operator double() const 580
  469. Fraction&       Fraction::  operator +=( const Fraction& rVal ) 580
  470. Fraction&       Fraction::  operator -=( const Fraction& rVal ) 580
  471. Fraction&       Fraction::  operator *=( const Fraction& rVal ) 580
  472. Fraction&       Fraction::  operator /=( const Fraction& rVal ) 580
  473. Fraction&       Fraction::  operator =( const Fraction& rVal )  581
  474. friend Fraction operator +( const Fraction& rVal1, const Fraction& rVal2 )  581
  475. friend Fraction operator -( const Fraction& rVal1, const Fraction& rVal2 )  581
  476. friend Fraction operator *( const Fraction& rVal1, const Fraction& rVal2 )  581
  477. friend Fraction operator /( const Fraction& rVal1, const Fraction& rVal2)   581
  478. friend BOOL     operator <( const Fraction& rVal1, const Fraction& rVal2 )  582
  479. friend BOOL     operator>( const Fraction& rVal1, const Fraction& rVal2 )   582
  480. friend BOOL     operator ==( const Fraction& rVal1, const Fraction& rVal2 ) 582
  481. friend BOOL     operator<=( const Fraction& rVal1, const Fraction& rVal2 )  582
  482. friend BOOL     operator>=( const Fraction& rVal1, const Fraction& rVal2 )  582
  483.  
  484. GDIMetaFile : MetaFile  217
  485.  
  486.                 GDIMetaFile::   GDIMetaFile()   218
  487.                 GDIMetaFile::   GDIMetaFile( const GDIMetaFile& rMtf )  218
  488.                 GDIMetaFile::   ~GDIMetaFile()  219
  489. BOOL            GDIMetaFile::   Record( OutputDevice* pOutDev ) 219
  490. BOOL            GDIMetaFile::   Play( OutputDevice* pOutDev )   220
  491. BOOL            GDIMetaFile::   Play( OutputDevice* pOutDev, const String& rLabel ) 220
  492. BOOL            GDIMetaFile::   Play( GDIMetaFile& rMtf )   221
  493. BOOL            GDIMetaFile::   Play( GDIMetaFile& rMtf, const String& rLabel ) 222
  494. BOOL            GDIMetaFile::   SaveStatus()    222
  495. GDIMetaFile&    GDIMetaFile::   operator =( const GDIMetaFile& rMtf )   223
  496.  
  497. GroupBox : Control  225
  498.  
  499.                 GroupBox::  GroupBox( Window* pParent ) 225
  500.                 GroupBox::  GroupBox( Window* pParent, ResId& rResId )  226
  501.  
  502. Help    227
  503.  
  504.                 Help::  Help()  228
  505. BOOL            Help::  Start( ULONG nHelpId )  228
  506. BOOL            Help::  Start( const String& rKeyWord ) 229
  507. String          Help::  SetHelpFile( const String& rName )  230
  508. String          Help::  GetHelpFile() const 230
  509.  
  510. HelpEvent   231
  511.  
  512.                 HelpEvent:: HelpEvent() 232
  513.                 HelpEvent:: HelpEvent(const Point& rMousePos, HelpMode eMode)   232
  514. Point           HelpEvent:: GetMousePosPixel() const    233
  515. HelpMode        HelpEvent:: GetMode() const 233
  516.  
  517. Icon : Resource 235
  518.  
  519.                 Icon::  Icon( IconStyle eStyle = ICON_DEFAULT ) 236
  520.                 Icon::  Icon( const Icon& rIcon )   237
  521.                 Icon::  Icon( ResId& rResId )   237
  522. virtual         Icon::  ~Icon() 237
  523. Size            Icon::  GetSizePixel()  238
  524. Icon&           Icon::  operator =( const Icon& rIcon ) 238
  525. BOOL            Icon::  operator ==( const Icon& rIcon ) const  238
  526. BOOL            Icon::  operator !=( const Icon& rIcon ) const  239
  527.  
  528. InfoBox : MessBox   241
  529.  
  530.                 InfoBox::   InfoBox( Window* pParent, const String& rMessage )  241
  531.                 InfoBox::   InfoBox( Window* pParent, ResId& rResId )   242
  532.  
  533. KeyCode 243
  534.  
  535.                 KeyCode::   KeyCode()   245
  536.                 KeyCode::   KeyCode( USHORT nKey, USHORT nModifier = 0 )    245
  537.                 KeyCode::   KeyCode( USHORT nKey, BOOL bShift, BOOL bMod1,
  538.                                      BOOL bMod2 ) 245
  539. USHORT          KeyCode::   GetCode() const 246
  540. USHORT          KeyCode::   GetModifier() const 247
  541. BOOL            KeyCode::   IsShift() const 248
  542. BOOL            KeyCode::   IsMod1() const  248
  543. BOOL            KeyCode::   IsMod2() const  248
  544. USHORT          KeyCode::   GetGroup() const    249
  545. BOOL            KeyCode::   operator ==() const 249
  546. BOOL            KeyCode::   operator !=() const 250
  547.  
  548. KeyEvent    251
  549.  
  550.                 KeyEvent::  KeyEvent()  251
  551.                 KeyEvent::  KeyEvent( char nCharCode, const KeyCode& rKeyCode,
  552.                                       USHORT nRepeat = 0 )  252
  553. char            KeyEvent::  GetCharCode() const 252
  554. KeyCode         KeyEvent::  GetKeyCode() const  253
  555. USHORT          KeyEvent::  GetRepeat() const   253
  556.  
  557. Link    583
  558.  
  559.                 Link::  Link()  585
  560.                 Link::  Link( LinkHdl* pFuncOwner, PFUNC pProc )    585
  561. long            Link::  Call( void* pCaller )   586
  562. BOOL            Link::  IsSet() const   586
  563. BOOL            Link::  operator ==( const Link& rLink ) const  587
  564. BOOL            Link::  operator !=( const Link& rLink ) const  587
  565.  
  566. List : Container    589
  567.  
  568. DECLARE_LIST( ClassName, Type ) 590
  569.                 List::  List( USHORT nInitSize = 16, USHORT nReSize = 16 )  591
  570.                 List::  List( USHORT nBlockSize, USHORT nInitSize,
  571.                              USHORT nReSize )   592
  572.                 List::  List( const List& rList )   593
  573. virtual         List::  ~List() 593
  574. void            List::  Insert( void* p )   593
  575. void            List::  Insert( void* p, ULONG nPos )   594
  576. void            List::  Insert( void* pNew, void* pOld )    594
  577. void*           List::  Remove()    595
  578. void*           List::  Remove( ULONG nPos )    595
  579. void*           List::  Remove( void* p )   596
  580. void*           List::  Replace( void* p )  597
  581. void*           List::  Replace( void* p, ULONG nPos )  597
  582. void*           List::  Replace( void* pNew, void* pOld )   598
  583. void            List::  Clear() 598
  584. ULONG           List::  Count() const   598
  585. void*           List::  GetCurObject() const    599
  586. ULONG           List::  GetCurPos() const   599
  587. void*           List::  GetObject( ULONG nPos ) const   599
  588. ULONG           List::  GetPos( void* p ) const 600
  589. void*           List::  Seek( ULONG nPos )  600
  590. void*           List::  Seek( void* p ) 601
  591. void*           List::  First() 601
  592. void*           List::  Last()  602
  593. void*           List::  Next()  602
  594. void*           List::  Prev()  603
  595. List&           List::  operator =( const List& rList ) 603
  596. BOOL            List::  operator ==( const List& rList ) const  604
  597. BOOL            List::  operator !=( const List& rList ) const  604
  598.  
  599. ListBox : Control   255
  600.  
  601. virtual void    ListBox::   Select()    256
  602. virtual void    ListBox::   Highlight() 257
  603.                 ListBox::   ListBox( Window* pParent, WinBits nWinStyle = WB_BORDER )   257
  604.                 ListBox::   ListBox( Window* pParent, ResId& rResId )   258
  605. void            ListBox::   InsertEntry( const String& rString,
  606.                                     USHORT nPos = LISTBOX_APPEND )  259
  607. void            ListBox::   RemoveEntry( const String& rString )    259
  608. void            ListBox::   RemoveEntry( USHORT nPos )  260
  609. void            ListBox::   SetCurEntryPos( USHORT nPos )   260
  610. USHORT          ListBox::   GetCurEntryPos() const  261
  611. void            ListBox::   SetCurEntry( const String& rString )    261
  612. String          ListBox::   GetCurEntry() const 261
  613. void            ListBox::   SetNoCurEntry() 262
  614. String          ListBox::   GetEntry( USHORT nPos ) const   262
  615. USHORT          ListBox::   GetEntryPos( const String& rString ) const  263
  616. USHORT          ListBox::   GetCurEntryLen() const  263
  617. USHORT          ListBox::   GetEntryLen( USHORT nPos ) const    263
  618. USHORT          ListBox::   GetEntryCount() const   264
  619. void            ListBox::   Clear() 264
  620. Link            ListBox::   ChangeSelectHdl( const Link& rLink )    264
  621. Link            ListBox::   GetSelectHdl() const    265
  622. Link            ListBox::   ChangeHighlightHdl( const Link& rLink ) 265
  623. Link            ListBox::   GetHighlightHdl() const 266
  624.  
  625. MapMode : Resource  267
  626.  
  627.                 MapMode::   MapMode()   269
  628.                 MapMode::   MapMode( const MapMode& rMapMode )  269
  629.                 MapMode::   MapMode( MapUnit eUnit )    270
  630.                 MapMode::   MapMode( MapUnit eUnit, const Point& rLogicOrg,
  631.                                         const Fraction& rScaleX, const Fraction& rScaleY)   270
  632.                 MapMode::   MapMode( ResId& rResId )    271
  633. virtual         MapMode::   ~MapMode()  271
  634. MapUnit         MapMode::   ChangeMapUnit( MapUnit eUnit )  271
  635. MapUnit         MapMode::   GetMapUnit() const  272
  636. Point           MapMode::   ChangeOrigin( const Point& rLogicOrg )  272
  637. Point           MapMode::   GetOrigin() const   273
  638. Fraction        MapMode::   ChangeScaleX( const Fraction& rScaleX ) 273
  639. Fraction        MapMode::   GetScaleX() const   274
  640. Fraction        MapMode::   ChangeScaleY( const Fraction& rScaleY ) 274
  641. Fraction        MapMode::   GetScaleY() const   275
  642. MapMode&        MapMode::   operator =( const MapMode& rMapMode )   275
  643. BOOL            MapMode::   operator ==( const MapMode& rMapMode ) const    275
  644. BOOL            MapMode::   operator !=( const MapMode& rMapMode ) const    276
  645.  
  646. MDIApplication : Application    277
  647.  
  648.                 MDIApplication::    MDIApplication()    281
  649. void            MDIApplication::    Tile()  281
  650. void            MDIApplication::    Horizontal()    281
  651. void            MDIApplication::    Vertical()  282
  652. void            MDIApplication::    Cascade()   282
  653. void            MDIApplication::    Arrange()   282
  654. BOOL            MDIApplication::    CloseAll()  282
  655. MDIWindow*      MDIApplication::    ChangeActiveWindow( MDIWindow* pWindow )    283
  656. MDIWindow*      MDIApplication::    ActivateNextWindow()    284
  657. MDIWindow*      MDIApplication::    GetActiveWindow() const 284
  658. USHORT          MDIApplication::    GetWindowCount() const  284
  659. USHORT          MDIApplication::    GetVisibleWindowCount() const   285
  660. PopupMenu*      MDIApplication::    ChangeMDIMenu( PopupMenu* pNewMenu )    285
  661. PopupMenu*      MDIApplication::    GetMDIMenu() const  286
  662.  
  663. MDIWindow : WorkWindow  287
  664.  
  665.                 MDIWindow:: MDIWindow( WorkWindow* pParent,
  666.                                        WinBits nWinStyle = WB_STDMDI )    288
  667.                 MDIWindow:: MDIWindow( WorkWindow* pParent, ResId& rResId ) 288
  668. virtual         MDIWindow:: ~MDIWindow()    289
  669. BOOL            MDIWindow:: IsMDIActivate() 289
  670.  
  671. Menu : Resource 291
  672.  
  673. virtual void    Menu::  Activate()  295
  674. virtual void    Menu::  Highlight() 296
  675. virtual void    Menu::  Select()    296
  676. virtual void    Menu::  Deactivate()    297
  677. virtual void    Menu::  RequestHelp( const HelpEvent& rHEvt )   297
  678. virtual         Menu::  ~Menu() 298
  679. BOOL            Menu::  InsertItem( ResId& rResId, USHORT nPos = MENU_APPEND )  298
  680. BOOL            Menu::  InsertItem( USHORT nItemId, const String& rString,
  681.                                     USHORT nPos = MENU_APPEND )  299
  682. BOOL            Menu::  InsertItem( USHORT nItemId, const Bitmap& rBitmap,
  683.                                     USHORT nPos = MENU_APPEND )  300
  684. void            Menu::  InsertSeparator( USHORT nPos = MENU_APPEND )    301
  685. void            Menu::  RemoveItem( USHORT nPos )   302
  686. USHORT          Menu::  GetItemCount() const    302
  687. USHORT          Menu::  GetItemId( USHORT nPos ) const  303
  688. USHORT          Menu::  GetItemPos( USHORT nItemId ) const  303
  689. USHORT          Menu::  GetCurItemId() const    304
  690. PopupMenu*      Menu::  ChangePopupMenu( USHORT nItemId,
  691.                                          PopupMenu* pPopupMenu )   304
  692. PopupMenu*      Menu::  GetPopupMenu( USHORT nItemId ) const    305
  693. void            Menu::  CheckItem( USHORT nItemId, BOOL bCheck = TRUE ) 305
  694. BOOL            Menu::  IsItemChecked( USHORT nItemId ) const   306
  695. void            Menu::  EnableItem( USHORT nItemId, BOOL bEnable = TRUE )   306
  696. BOOL            Menu::  IsItemEnabled( USHORT nItemId ) const   307
  697. void            Menu::  SetItemText( USHORT nItemId, const String& rString )    307
  698. String          Menu::  GetItemText( USHORT nItemId ) const 308
  699. USHORT          Menu::  GetItemTextLen( USHORT nItemId ) const  308
  700. void            Menu::  SetItemBitmap( USHORT nItemId, const Bitmap& rBitmap )  309
  701. Bitmap          Menu::  GetItemBitmap( USHORT nItemId ) const   309
  702. void            Menu::  SetHelpText( USHORT nItemId, const String& rString )    309
  703. String          Menu::  GetHelpText( USHORT nItemId ) const 310
  704. USHORT          Menu::  GetHelpTextLen( USHORT nItemId ) const  310
  705. ULONG           Menu::  ChangeHelpId( USHORT nItemId, ULONG nHelpId )   311
  706. ULONG           Menu::  GetHelpId( USHORT nItemId ) const   311
  707. void            Menu::  PushActivateHdl( const Link& rLink )    312
  708. Link            Menu::  PopActivateHdl()    313
  709. void            Menu::  PushHighlightHdl( const Link& rLink )   313
  710. Link            Menu::  PopHighlightHdl()   314
  711. void            Menu::  PushSelectHdl( const Link& rLink )  314
  712. Link            Menu::  PopSelectHdl()  315
  713. void            Menu::  PushDeactivateHdl( const Link& rLink )  315
  714. Link            Menu::  PopDeactivateHdl()  316
  715.  
  716. MenuBar : Menu  317
  717.  
  718.                 MenuBar::   MenuBar()   317
  719.                 MenuBar::   MenuBar( ResId& rResId )    318
  720.  
  721. MessBox : ModalDialog   319
  722.  
  723.                 MessBox::   MessBox( Window* pParent, WinBits nWinStyle,
  724.                                      const String& rTitle, const String& rMessage )  320
  725.                 MessBox::   MessBox( Window* pParent, ResId& rResId )   321
  726. virtual         MessBox::   ~MessBox()  322
  727. short           MessBox::   Execute()   322
  728.  
  729. MetaAction  605
  730.  
  731.                 MetaAction::    MetaAction()    605
  732.                 MetaAction::    MetaAction( USHORT nType )  606
  733. virtual         MetaAction::    ~MetaAction()   606
  734. virtual void    MetaAction::    Execute( void* pObj )   606
  735. USHORT          MetaAction::    GetType() const 607
  736. void            MetaAction::    Duplicate() 607
  737. void            MetaAction::    Delete()    607
  738.  
  739. MetaFile    609
  740.  
  741. virtual void    MetaFile::  Linker( void* pObj, BOOL bLink )    612
  742. virtual long    MetaFile::  Hook()  612
  743.                 MetaFile::  MetaFile()  613
  744.                 MetaFile::  MetaFile( const MetaFile& rMtf )    613
  745.                 MetaFile::  ~MetaFile() 614
  746. BOOL            MetaFile::  AddAction( MetaAction* pAction )    614
  747. BOOL            MetaFile::  Clear() 615
  748. BOOL            MetaFile::  Record( void* pObj )    615
  749. BOOL            MetaFile::  IsRecord() const    616
  750. BOOL            MetaFile::  Pause( BOOL bPaused )   616
  751. BOOL            MetaFile::  IsPause() const 617
  752. BOOL            MetaFile::  Stop()  617
  753. BOOL            MetaFile::  Play( void* pObj )  618
  754. BOOL            MetaFile::  Play( void* pObj, const String& rToLabel )  619
  755. BOOL            MetaFile::  Play( MetaFile& rMtf )  620
  756. BOOL            MetaFile::  Play( MetaFile& rMtf, const String& rToLabel )  620
  757. BOOL            MetaFile::  WindStart() 621
  758. BOOL            MetaFile::  WindEnd()   621
  759. BOOL            MetaFile::  Wind( const String& rToLabel )  622
  760. BOOL            MetaFile::  WindPrev()  622
  761. BOOL            MetaFile::  WindNext()  623
  762. BOOL            MetaFile::  SetLabel( const String& rLabel )    623
  763. String          MetaFile::  GetLabel( ULONG nLabel ) const  624
  764. ULONG           MetaFile::  GetLabelCount() const   624
  765. String          MetaFile::  GetCurLabel() const 625
  766. ULONG           MetaFile::  GetActionCount() const  625
  767. ULONG           MetaFile::  GetLabelActionCount( const String& rLabel ) const   625
  768. const MetaAction* MetaFile::    GetCurAction() const    626
  769. Link            MetaFile::  ChangeHookHdl( const Link& rLink )  626
  770. Link            MetaFile::  GetHookHdl() const  627
  771. MetaFile&       MetaFile::  operator =( const MetaFile& rMtf )  627
  772.  
  773. ModalDialog : Dialog    323
  774.  
  775.                 ModalDialog::   ModalDialog( Window* pParent, ResId& rResId )   327
  776. virtual         ModalDialog::   ~ModalDialog()  327
  777. short           ModalDialog::   Execute()   327
  778. BOOL            ModalDialog::   IsInExecute() const 328
  779. void            ModalDialog::   EndDialog( short nResult = 0 )  329
  780.  
  781. ModelessDialog : Dialog 331
  782.  
  783.                 ModelessDialog:: ModelessDialog( Window* pParent,
  784.                                                  WinBits nWinStyle = WB_STDMODELESS )  334
  785.                 ModelessDialog:: ModelessDialog( Window* pParent, ResId& rResId )    334
  786. virtual         ModelessDialog:: ~ModelessDialog()   335
  787.  
  788. MouseEvent  337
  789.  
  790.                 MouseEvent::    MouseEvent()    339
  791.                 MouseEvent::    MouseEvent( const Point& rPos, USHORT nClicks =1,
  792.                                             USHORT nMode = 0, USHORT nButtons = 0,
  793.                                             USHORT nModifier = 0 )   339
  794. Point           MouseEvent::    GetPosPixel() const 339
  795. USHORT          MouseEvent::    GetMode() const 340
  796. USHORT          MouseEvent::    GetClicks() const   340
  797. USHORT          MouseEvent::    GetButtons() const  341
  798. BOOL            MouseEvent::    IsLeft() const  342
  799. BOOL            MouseEvent::    IsMiddle() const    342
  800. BOOL            MouseEvent::    IsRight() const 343
  801. USHORT          MouseEvent::    GetModifier() const 343
  802. BOOL            MouseEvent::    IsShift() const 344
  803. BOOL            MouseEvent::    IsMod1() const  345
  804. BOOL            MouseEvent::    IsMod2() const  345
  805.  
  806. MultiLineEdit : Edit    347
  807.  
  808.                 MultiLineEdit:: MultiLineEdit( Window* pParent,
  809.                                                WinBits nWinStyle = WB_LEFT | WB_BORDER)  348
  810.                 MultiLineEdit:: MultiLineEdit( Window* pParent, ResId& rResId ) 348
  811.  
  812. OutputDevice : Resource 351
  813.  
  814.                 OutputDevice::  OutputDevice()  356
  815.                 OutputDevice::  OutputDevice( ResId& rResId )   356
  816. virtual         OutputDevice::  ~OutputDevice() 357
  817.                 OutputDevice::  DrawText( const Point& rStartPt, const String& rStr,
  818.                                           USHORT nPos =0,USHORT nLen =STRING_LEN)   357
  819. Size            OutputDevice::  GetTextSize( const String& rStr,USHORT nPos =0,
  820.                                              USHORT nLen=STRING_LEN) const 358
  821. void            OutputDevice::  DrawKernText( const Point& rStartPt, const String& rStr,
  822.                                               USHORT nPos = 0, USHORT nLen = STRING_LEN,
  823.                                               short* pKernAry = 0 )    359
  824. Size            OutputDevice::  GetKernTextSize( const String& rStr, USHORT nPos=0,
  825.                                                  USHORT nLen= STRING_LEN,
  826.                                                  short* pKernAry = 0 ) const  360
  827. void            OutputDevice::  DrawPixel( const Point& rPt,const Color& rColor)    361
  828. Color           OutputDevice::  GetPixel( const Point& rPt ) const  361
  829. void            OutputDevice::  DrawPoint( const Point& rPt )   362
  830. void            OutputDevice::  DrawLine( const Point& rStartPt, const Point& rEndPt )  362
  831. void            OutputDevice::  DrawRect( const Rectangle& rRect,
  832.                                           USHORT nHorzRound = 0, USHORT nVertRound = 0) 363
  833. void            OutputDevice::  InvertRect( const Rectangle& rRect )    363
  834. void            OutputDevice::  HighlightRect( const Rectangle& rRect ) 364
  835. void            OutputDevice::  DrawEllipse( const Rectangle& rRect )   364
  836. void            OutputDevice::  DrawArc( const Rectangle& rRect, const Point& rStartPt,
  837.                                          const Point& rEndPt ) 365
  838. void            OutputDevice::  DrawPie( const Rectangle& rRect, const Point& rStartPt,
  839.                                          const Point& rEndPt )  366
  840. void            OutputDevice::  DrawPolyLine( USHORT nPoints, Point aPtAry[] )  367
  841. void            OutputDevice::  DrawPolygon( USHORT nPoints, Point aPtAry[] )   367
  842. void            OutputDevice::  DrawOutDev( const Point& rDestPt, const Size& rDestSize,
  843.                                             const Point& rSrcPt, const Size& rSrcSize,
  844.                                             const OutputDevice& rSrcDev )  368
  845. void            OutputDevice::  DrawBitmap( const Point& rDestPt, const Bitmap& rBitmap )   369
  846. void            OutputDevice::  DrawBitmap( const Point& rDESTPt, const Size& rDestSize,
  847.                                             const Bitmap& rBitmap ) 370
  848. Bitmap          OutputDevice::  GetBitmap( const Point& rSrcPt, const Size& rSize ) const   370
  849. void            OutputDevice::  DrawIcon(const Point& rDestPt,const Icon& rIcon)    371
  850. Rectangle       OutputDevice::  ChangeClipRect( const Rectangle& rRect )    371
  851. Rectangle       OutputDevice::  ChangeClipRect()    372
  852. Rectangle       OutputDevice::  GetClipRect() const 372
  853. BOOL            OutputDevice::  IsClipRect() const  373
  854. Pen             OutputDevice::  ChangePen( const Pen& rNewPen ) 373
  855. Pen             OutputDevice::  GetPen() const  374
  856. Font            OutputDevice::  ChangeFont( const Font& rNewFont )  374
  857. Font            OutputDevice::  GetFont() const 375
  858. Brush           OutputDevice::  ChangeBackgroundBrush( const Brush& rNewBrush ) 375
  859. Brush           OutputDevice::  GetBackgroundBrush() const  376
  860. Brush           OutputDevice::  ChangeFillInBrush( const Brush& rNewBrush ) 376
  861. Brush           OutputDevice::  GetFillInBrush() const  377
  862. MapMode         OutputDevice::  ChangeMapMode( const MapMode& rNewMapMod )  377
  863. MapMode         OutputDevice::  GetMapMode() const  378
  864. Point           OutputDevice::  LogicToPixel( const Point& rLogicPoint,
  865.                                               const MapMode& rMapMod ) const 378
  866. Point           OutputDevice::  LogicToPixel( const Point& rLogicPoint ) const  379
  867. Size            OutputDevice::  LogicToPixel( const Size& rLogicSize,
  868.                                               const MapMode& rMapMod ) const 379
  869. Size            OutputDevice::  LogicToPixel( const Size& rLogicSize ) const    380
  870. Rectangle       OutputDevice::  LogicToPixel( const Rectangle& rLogicRect,
  871.                                               const MapMode& rMapMod) const  380
  872. Rectangle       OutputDevice::  LogicToPixel( const Rectangle& rLogicRect ) const   381
  873. Point           OutputDevice::  PixelToLogic( const Point& rDevicePoint,
  874.                                               const MapMode& rMapMod ) const 382
  875. Point           OutputDevice::  PixelToLogic( const Point& rDevicePoint ) const 382
  876. Size            OutputDevice::  PixelToLogic( const Size& rDeviceSize,
  877.                                               const MapMode& rMapMod ) const 383
  878. Size            OutputDevice::  PixelToLogic( const Size& rDeviceSize ) const   383
  879. Rectangle       OutputDevice::  PixelToLogic( const Rectangle& rDeviceRect,
  880.                                               const MapMode& rMapMod) const  384
  881. Rectangle       OutputDevice::  PixelToLogic( const Rectangle& rDeviceRect ) const  385
  882. RasterOp        OutputDevice::  ChangeRasterOp( RasterOp eROP ) 385
  883. RasterOp        OutputDevice::  GetRasterOp() const 386
  884. Size            OutputDevice::  GetOutputSize() const   386
  885. virtual Size    OutputDevice::  GetOutputSizePixel() const  387
  886. USHORT          OutputDevice::  GetDevFontCount() const 387
  887. Font            OutputDevice::  GetDevFont( USHORT nPos ) const 388
  888. USHORT          OutputDevice::  GetDevFontSizeCount( const Font& rFont ) const  388
  889. Size            OutputDevice::  GetDevFontSize( const Font& rFont, USHORT nPos) const   389
  890. FontMetric      OutputDevice::  GetFontMetric() const   390
  891. FontMetric      OutputDevice::  GetFontMetric( const Font& rFont ) const    390
  892. void            OutputDevice::  Push()  391
  893. void            OutputDevice::  Pop()   391
  894.  
  895. Pair    629
  896.  
  897.                 Pair::  Pair()  629
  898.                 Pair::  Pair( short nA, short nB )  630
  899. short           Pair::  A() const   630
  900. short           Pair::  B() const   630
  901. short&          Pair::  A() 631
  902. short&          Pair::  B() 631
  903. BOOL            Pair::  operator ==( const Pair& rPair ) const  631
  904. BOOL            Pair::  operator !=( const Pair& rPair ) const  632
  905.  
  906. Pen : Resource  393
  907.  
  908.                 Pen::   Pen()   395
  909.                 Pen::   Pen( const Pen& rPen )  395
  910.                 Pen::   Pen( PenStyle eStyle )  395
  911.                 Pen::   Pen( const Color& rColor, USHORT nWidth = 0,
  912.                              PenStyle eStyle = PEN_SOLID )  396
  913.                 Pen::   Pen( ResId& rResId )    396
  914. virtual         Pen::   ~Pen()  396
  915. Color           Pen::   ChangeColor( const Color& rColor )  397
  916. Color           Pen::   GetColor() const    397
  917. USHORT          Pen::   ChangeWidth( USHORT nWidth )    397
  918. USHORT          Pen::   GetWidth() const    398
  919. PenStyle        Pen::   ChangeStyle( PenStyle eStyle )  398
  920. PenStyle        Pen::   GetStyle() const    399
  921. Pen&            Pen::   operator =( const Pen& rPen )   399
  922. BOOL            Pen::   operator ==( const Pen& rPen ) const    399
  923. BOOL            Pen::   operator !=( const Pen& rPen ) const    400
  924.  
  925. PhysicalPrinter : Printer   401
  926.  
  927.                 PhysicalPrinter::   PhysicalPrinter()   401
  928. virtual         PhysicalPrinter::   ~PhysicalPrinter()  401
  929.  
  930. Point : Pair    633
  931.  
  932.                 Point:: Point() 634
  933.                 Point:: Point( short nX, short nY ) 634
  934. short           Point:: X() const   634
  935. short           Point:: Y() const   635
  936. short&          Point:: X() 635
  937. short&          Point:: Y() 635
  938. Point&          Point:: operator +=( const Point& rPoint )  636
  939. Point&          Point:: operator -=( const Point& rPoint )  636
  940. Point&          Point:: operator *=( const short nVal ) 636
  941. Point&          Point:: operator /=( const short nVal ) 636
  942. friend Point    operator +( const Point& rPt1, const Point& rPt2 )  636
  943. friend Point    operator -( const Point& rPt1, const Point& rPt2 )  636
  944. friend Point    operator *( const Point& rPt, const short nVal )    636
  945. friend Point    operator /( const Point& rPt, const short nVal )    636
  946. BOOL            Point:: IsAbove( const Point& rPoint ) const    637
  947. BOOL            Point:: IsBelow( const Point& rPoint ) const    637
  948. BOOL            Point:: IsRight( const Point& rPoint ) const    637
  949. BOOL            Point:: IsLeft( const Point& rPoint ) const 637
  950.  
  951. Pointer : Resource  403
  952.  
  953.                 Pointer::   Pointer( PointerStyle eType = POINTER_ARROW )   404
  954.                 Pointer::   Pointer( const Pointer& rPointer )  405
  955.                 Pointer::   Pointer( ResId& rResId )    405
  956. virtual         Pointer::   ~Pointer()  405
  957. static void     Pointer::   Show()  406
  958. static void     Pointer::   Hide()  406
  959. static BOOL     Pointer::   IsVisible() 406
  960. static Point    Pointer::   ChangePosPixel( const Point& rPos ) 407
  961. static Point    Pointer::   GetPosPixel()   407
  962. Pointer&        Pointer::   operator =( const Pointer& rPointer )   407
  963. BOOL            Pointer::   operator ==( const Pointer& rPointer ) const    408
  964. BOOL            Pointer::   operator !=( const Pointer& rPointer ) const    408
  965.  
  966. PopupMenu : Menu    411
  967.  
  968.                 PopupMenu:: PopupMenu() 411
  969.                 PopupMenu:: PopupMenu( ResId& rResId )  411
  970. void            PopupMenu:: Execute( const Point& rPopupPos )   412
  971.  
  972. Preview : Printer   413
  973.  
  974. virtual void    Preview::   RequestPage()   414
  975.                 Preview::   Preview( Window* pParent, WinBits nWinStyle = 0 )   415
  976. virtual         Preview::   ~Preview()  415
  977. USHORT          Preview::   ChangeCurPage( USHORT nCurPage = 1 )    416
  978. USHORT          Preview::   GetCurPage() const  416
  979. Fraction        Preview::   ChangeZoomFactor( const Fraction& rFactor ) 417
  980. Fraction        Preview::   GetZoomFactor() const   417
  981. Point           Preview::   ChangePageOffset( const Point& rOffset )    418
  982. Point           Preview::   GetPageOffset() const   418
  983. Size            Preview::   CalcWindowSizePixel( const Size& rMaxSize,
  984.                                                  const Point& rPageOffset,
  985.                                                  const Fraction& rFactor ) const  419
  986. USHORT          Preview::   ChangePageCacheSize( USHORT nCacheSize = 1 )    420
  987. USHORT          Preview::   GetPageCacheSize() const    420
  988. Link            Preview::   ChangeRequestPageHdl( const Link& rLink )   421
  989. Link            Preview::   GetRequestPageHdl() const   421
  990.  
  991. Printer : OutputDevice  423
  992.  
  993.                 Printer::   Printer()   425
  994. virtual         Printer::   ~Printer()  426
  995. String          Printer::   GetDriverName() const   426
  996. USHORT          Printer::   Setup() 426
  997. ModelessDialog* Printer::   ChangeDialog( ModelessDialog* pDialog ) 427
  998. ModelessDialog* Printer::   GetDialog() const   428
  999. USHORT          Printer::   GetPageCount() const    428
  1000. USHORT          Printer::   SetCopyCount( USHORT nCount )   429
  1001. USHORT          Printer::   GetCopyCount() const    430
  1002. USHORT          Printer::   SetQuality( Quality eQuality )  430
  1003. Quality         Printer::   GetQuality() const  431
  1004. USHORT          Printer::   SetOrientation( Orientation eOrient )   431
  1005. Orientation     Printer::   GetOrientation() const  432
  1006. Size            Printer::   GetPaperSize() const    432
  1007. Priority        Printer::   ChangePriority( Priority ePriority )    432
  1008. Priority        Printer::   GetPriority() const 433
  1009. Link            Printer::   ChangeErrorHdl( const Link& rLink ) 433
  1010. Link            Printer::   GetErrorHdl() const 434
  1011. USHORT          Printer::   GetErrorCode() const    434
  1012. USHORT          Printer::   StartJob( const String& rJobName )  434
  1013. USHORT          Printer::   EndJob()    435
  1014. USHORT          Printer::   AbortJob()  436
  1015. USHORT          Printer::   NewPage()   436
  1016. Link            Printer::   ChangeEndBusyHdl( const Link& rLink )   437
  1017. Link            Printer::   GetEndBusyHdl() const   437
  1018. BOOL            Printer::   IsBusy() const  438
  1019.  
  1020. PushButton : Button 439
  1021.  
  1022.                 PushButton::    PushButton( Window* pParent, WinBits nWinStyle = 0 )    439
  1023.                 PushButton::    PushButton( Window* pParent, ResId& rResId )    440
  1024.  
  1025. QueryBox : MessBox  441
  1026.  
  1027.                 QueryBox::  QueryBox( Window* pParent, WinBits nWinStyle,
  1028.                                       const String& rMessage )   441
  1029.                 QueryBox::  QueryBox( Window* pParent, ResId& rResId )  442
  1030.  
  1031. Queue : Container   639
  1032.  
  1033. DECLARE_QUEUE( ClassName, Type )        640
  1034.                 Queue:: Queue( USHORT nInitSize = 16, USHORT nReSize = 16 ) 641
  1035.                 Queue:: Queue( const Queue& rQueue )    641
  1036. virtual         Queue:: ~Queue()    642
  1037. void            Queue:: Put( void* p )  642
  1038. void*           Queue:: Get()   642
  1039. void            Queue:: Clear() 643
  1040. ULONG           Queue:: Count() const   643
  1041. void*           Queue:: GetObject( ULONG nPos ) const   643
  1042. ULONG           Queue:: GetPos( void* p ) const 644
  1043. Queue&          Queue:: operator =( const Queue& rQueue )   644
  1044. BOOL            Queue:: operator ==( const Queue& rQueue ) const    645
  1045. BOOL            Queue:: operator !=( const Queue& rQueue ) const    645
  1046.  
  1047. RadioButton : Button    443
  1048.  
  1049.                 RadioButton::   RadioButton( Window* pParent, WinBits nWinStyle = 0 )   444
  1050.                 RadioButton::   RadioButton( Window* pParent, ResId& rResId )   444
  1051. void            RadioButton::   Check( BOOL bCheck = TRUE ) 445
  1052. BOOL            RadioButton::   IsChecked() const   445
  1053.  
  1054. Range : Pair    647
  1055.  
  1056.                 Range:: Range() 647
  1057.                 Range:: Range( short nMin, short nMax ) 648
  1058. short           Range:: Min() const 648
  1059. short           Range:: Max() const 648
  1060. short           Range:: Len() const 649
  1061. short&          Range:: Min()   649
  1062. short&          Range:: Max()   650
  1063. BOOL            Range:: IsInside( short nIs ) const 650
  1064. void            Range:: Justify()   651
  1065.  
  1066. Rectangle   653
  1067.  
  1068.                 Rectangle:: Rectangle() 655
  1069.                 Rectangle:: Rectangle(const Point rLeftTop,const Point rRightBottom)    655
  1070.                 Rectangle:: Rectangle( short nLeft, short nTop, short nRight, short nBottom )   655
  1071.                 Rectangle:: Rectangle( const Point& rLeftTop, const Size& rSize )   656
  1072. Point           Rectangle:: TopLeft() const 656
  1073. Point           Rectangle:: TopRight() const    657
  1074. Point           Rectangle:: TopCenter() const   657
  1075. Point           Rectangle:: BottomLeft() const  657
  1076. Point           Rectangle:: BottomRight() const 658
  1077. Point           Rectangle:: BottomCenter() const    658
  1078. Point           Rectangle:: LeftCenter() const  659
  1079. Point           Rectangle:: RightCenter() const 659
  1080. Point           Rectangle:: Center() const  659
  1081. Size            Rectangle:: GetSize() const 660
  1082. Size            Rectangle:: ChangeSize( const Size& rSize)  660
  1083. Point           Rectangle:: ChangePos( const Point& rPoint) 661
  1084. short           Rectangle:: Left() const    661
  1085. short           Rectangle:: Right() const   661
  1086. short           Rectangle:: Top() const 662
  1087. short           Rectangle:: Bottom() const  662
  1088. short&          Rectangle:: Left()  663
  1089. short&          Rectangle:: Right() 663
  1090. short&          Rectangle:: Top()   663
  1091. short&          Rectangle:: Bottom()    664
  1092. Rectangle       Rectangle:: GetUnion( const Rectangle& rRect ) const    664
  1093. Rectangle       Rectangle:: GetIntersection( const Rectangle& rRect) const  665
  1094. void            Rectangle:: Justify()   665
  1095. BOOL            Rectangle:: IsInside( const Point& rPoint ) const   666
  1096. BOOL            Rectangle:: IsInside( const Rectangle& rRect ) const    666
  1097. BOOL            Rectangle:: IsOver( const Rectangle& rRect ) const  667
  1098. BOOL            Rectangle:: operator ==( const Rectangle& rRect ) const 668
  1099. BOOL            Rectangle:: operator !=( const Rectangle& rRect ) const 668
  1100.  
  1101. ResId   447
  1102.  
  1103.                 ResId:: ResId( USHORT nId ) 449
  1104.                 ResId:: ~ResId()    449
  1105. ResId&          ResId:: Lock()  449
  1106. void            ResId:: Unlock()    450
  1107.  
  1108. ResMgr  451
  1109.  
  1110.                 ResMgr::    ResMgr( char* pFileName = ( char* )0 )  451
  1111.                 ResMgr::    ~ResMgr()   452
  1112.  
  1113. Resource    453
  1114.  
  1115.                 Resource::  Resource( ResId& rResId )   456
  1116. virtual         Resource::  ~Resource() 456
  1117. void*           Resource::  GetClassRes()   457
  1118. USHORT          Resource::  GetStringSizeRes( char* )   457
  1119. USHORT          Resource::  GetRemainSizeRes()  458
  1120. void*           Resource::  IncrementRes( USHORT nBytes )   458
  1121. static void     Resource::  SetResManager( ResMgr* pResMgr )    459
  1122. static ResMgr*  Resource::  GetResManager() 459
  1123.  
  1124. ScrollBar : Control 461
  1125.  
  1126. virtual void    ScrollBar:: LineMove()  462
  1127. virtual void    ScrollBar:: PageMove()  463
  1128. virtual void    ScrollBar:: ThumbDrag() 464
  1129. virtual void    ScrollBar:: EndScroll() 464
  1130.                 ScrollBar:: ScrollBar( Window* pParent,
  1131.                                        WinBits nWinStyle = WB_VSCROLL )  465
  1132.                 ScrollBar:: ScrollBar( Window* pParent, ResId& rResId ) 465
  1133. short           ScrollBar:: ChangeThumbPos( short nThumbPos )   466
  1134. short           ScrollBar:: GetThumbPos() const 466
  1135. short           ScrollBar:: ChangeLineSize( short nSize )   467
  1136. short           ScrollBar:: GetLineSize() const 467
  1137. short           ScrollBar:: ChangePageSize( short nSize )   467
  1138. short           ScrollBar:: GetPageSize() const 468
  1139. Range           ScrollBar:: ChangeRange( const Range& rRange )  468
  1140. Range           ScrollBar:: GetRange() const    469
  1141. short           ScrollBar:: GetDelta() const    469
  1142. short           ScrollBar:: GetDeltaSum() const 470
  1143. Link            ScrollBar:: ChangeLineMoveHdl( const Link& rLink )  470
  1144. Link            ScrollBar:: GetLineMoveHdl() const  471
  1145. Link            ScrollBar:: ChangePageMoveHdl( const Link& rLink )  471
  1146. Link            ScrollBar:: GetPageMoveHdl() const  472
  1147. Link            ScrollBar:: ChangeThumbDragHdl( const Link& rLink ) 472
  1148. Link            ScrollBar:: GetThumbDragHdl() const 473
  1149. Link            ScrollBar:: ChangeEndScrollHdl( const Link& rLink ) 473
  1150. Link            ScrollBar:: GetEndScrollHdl() const 474
  1151.  
  1152. Selection : Pair    671
  1153.  
  1154.                 Selection:: Selection() 671
  1155.                 Selection:: Selection( short nPos ) 672
  1156.                 Selection:: Selection( short nMin, short nMax ) 672
  1157. short           Selection:: Min() const 672
  1158. short           Selection:: Max() const 673
  1159. short           Selection:: Len() const 673
  1160. short&          Selection:: Min()   673
  1161. short&          Selection:: Max()   674
  1162. BOOL            Selection:: IsInside( short nIs ) const 674
  1163. void            Selection:: Justify()   675
  1164. BOOL            Selection:: operator !() const  675
  1165.  
  1166. SingleLineEdit : Edit   475
  1167.  
  1168.                 SingleLineEdit::    SingleLineEdit( Window* pParent, WinBits nWinStyle =
  1169.                                                     WB_LEFT | WB_BORDER )   475
  1170.                 SingleLineEdit::    SingleLineEdit( Window* pParent, ResId& rResId )    476
  1171.  
  1172. Size : Pair 677
  1173.  
  1174.                 Size::  Size()  677
  1175.                 Size::  Size( short nWidth, short nHeight ) 678
  1176. short           Size::  Width() const   678
  1177. short           Size::  Height() const  678
  1178. short&          Size::  Width() 679
  1179. short&          Size::  Height()    679
  1180.  
  1181. Sound   477
  1182.  
  1183. static void     Sound:: Beep()  477
  1184.  
  1185. Stack : Container   681
  1186.  
  1187. DECLARE_STACK( ClassName, Type )        682
  1188.                 Stack:: Stack( USHORT nInitSize = 16, USHORT nReSize = 16 ) 683
  1189.                 Stack:: Stack( const Stack& rStack )    683
  1190. virtual         Stack:: ~Stack()    684
  1191. void            Stack:: Push( void* p ) 684
  1192. void*           Stack:: Pop()   684
  1193. void*           Stack:: Top() const 685
  1194. void            Stack:: Clear() 685
  1195. ULONG           Stack:: Count() const   685
  1196. void*           Stack:: GetObject( ULONG nPos ) const   686
  1197. ULONG           Stack:: GetPos( void* p ) const 686
  1198. Stack&          Stack:: operator =( const Stack& rStack )   687
  1199. BOOL            Stack:: operator ==( const Stack& rStack ) const    687
  1200. BOOL            Stack:: operator !=( const Stack& rStack ) const    687
  1201.  
  1202. String  689
  1203.  
  1204.                 String::    String()    693
  1205.                 String::    String( const String& rStr )    693
  1206.                 String::    String( const String& rStr, USHORT nPos, USHORT nLen )  693
  1207.                 String::    String( const char* pCharStr )  694
  1208.                 String::    String( const char* pCharStr, USHORT nLen ) 694
  1209.                 String::    String( char c )    695
  1210.                 String::    String( int n ) 696
  1211.                 String::    String( unsigned int n )    696
  1212.                 String::    String( short n )   697
  1213.                 String::    String( USHORT n )  697
  1214.                 String::    String( long n )    698
  1215.                 String::    String( ULONG n )   698
  1216.                 String::    ~String()   699
  1217.                 String::    operator const char*() const    699
  1218.                 String::    operator char() const   700
  1219.                 String::    operator int() const    700
  1220.                 String::    operator unsigned int() const   701
  1221.                 String::    operator short() const  702
  1222.                 String::    operator USHORT() const 702
  1223.                 String::    operator long() const   703
  1224.                 String::    operator ULONG() const  704
  1225. String&         String::    operator =( const String& rStr )    704
  1226. String&         String::    operator =( const char* pCharStr )  705
  1227. String&         String::    operator +=( const String& rStr )   705
  1228. String&         String::    operator +=( const char* pCharStr ) 706
  1229. String&         String::    operator +=( char c )   706
  1230. String&         String::    operator +=( int n )    707
  1231. String&         String::    operator +=( unsigned int n )   708
  1232. String&         String::    operator +=( short n )  708
  1233. String&         String::    operator +=( USHORT n ) 709
  1234. String&         String::    operator +=( long n )   709
  1235. String&         String::    operator +=( ULONG n )  710
  1236. BOOL            String::    operator !() const  711
  1237. char            String::    operator []( USHORT nPos ) const    711
  1238. char&           String::    operator []( USHORT nPos )  712
  1239. USHORT          String::    Len() const 713
  1240. String&         String::    Insert(const String& rStr,USHORT nPos=STRING_LEN)   713
  1241. String&         String::    Insert( const String& rStr,USHORT nSourcePos, USHORT nLen,
  1242.                                     USHORT nDestPos = STRING_LEN )   714
  1243. String&         String::    Insert( const char* pCharStr, USHORT nPos = STRING_LEN  715
  1244. String&         String::    Insert( char c, USHORT nPos = STRING_LEN )  716
  1245. String&         String::    Insert( int n, USHORT nPos = STRING_LEN )   717
  1246. String&         String::    Insert( unsigned int n,USHORT nPos = STRING_LEN)    717
  1247. String&         String::    Insert( short n, USHORT nPos = STRING_LEN ) 718
  1248. String&         String::    Insert( USHORT n, USHORT nPos = STRING_LEN )    719
  1249. String&         String::    Insert( long n, USHORT nPos = STRING_LEN )  720
  1250. String&         String::    Insert( ULONG n, USHORT nPos = STRING_LEN ) 721
  1251. String&         String::    Replace( const String& rStr, USHORT nPos = 0 )  721
  1252. String&         String::    Erase(USHORT nPos = 0,USHORT nCount = STRING_LEN)   722
  1253. String&         String::    Cut( USHORT nPos = 0,USHORT nCount = STRING_LEN)    723
  1254. String          String::    Copy( USHORT nPos = 0,
  1255.                                   USHORT nCount = STRING_LEN ) const 724
  1256. String&         String::    Fill( USHORT nCount, char cFillChar = ' ' ) 725
  1257. String&         String::    Expand( USHORT nCount, char cExpandChar= ' ')   725
  1258. String          String::    Upper() const   726
  1259. String          String::    Lower() const   727
  1260. String&         String::    ToUpper()   727
  1261. String&         String::    ToLower()   728
  1262. String&         String::    SpaceToZero()   729
  1263. String&         String::    ZeroToSpace()   729
  1264. USHORT          String::    Match( const String& rStr ) const   730
  1265. USHORT          String::    Match( const char* pCharStr ) const 731
  1266. USHORT          String::    Search( const String& rStr, USHORT nPos = 0) const  731
  1267. USHORT          String::    Search(const char* pCharStr, USHORT nPos=0) const   732
  1268. BOOL            String::    IsAlpha() const 733
  1269. BOOL            String::    IsNumeric() const   734
  1270. BOOL            String::    IsAlphaNumeric() const  734
  1271. BOOL            String::    IsUpper() const 735
  1272. BOOL            String::    IsLower() const 736
  1273. char*           String::    AllocStrBuf( USHORT nLen )  737
  1274. const char*     String::    StrGet() const  738
  1275. friend String   operator +( const String& rStr1,const String& rStr2 )   738
  1276. friend String   operator +( const String& rStr,const char* pCharStr )   739
  1277. friend String   operator +( const char* pCharStr,const String& rStr )   740
  1278. friend BOOL     operator ==( const String& rStr1, const String& rStr2 ) 741
  1279. friend BOOL     operator ==( const String& rStr, const char* pCharStr ) 741
  1280. friend BOOL     operator ==( const char* pCharStr, const String& rStr ) 741
  1281. friend BOOL     operator !=( const String& rStr1, const String& rStr2 ) 741
  1282. friend BOOL     operator !=( const String& rStr, const char* pCharStr ) 741
  1283. friend BOOL     operator !=( const char* pCharStr, const String& rStr ) 741
  1284. friend BOOL     operator <( const String& rStr1,' const String& rStr2 ) 741
  1285. friend BOOL     operator <( const String& rStr, const char* pCharStr )  741
  1286. friend BOOL     operator <( const char* pCharStr, const String& rStr )  741
  1287. friend BOOL     operator >( const String& rStr1, const String& rStr2 )  741
  1288. friend BOOL     operator >( const String& rStr, const char* pCharStr )  741
  1289. friend BOOL     operator >( const char* pCharStr, const String& rStr )  741
  1290. friend BOOL     operator <=( const String& rStr1, const String& rStr2 ) 741
  1291. friend BOOL     operator <=( const String& rStr, const char* pCharStr ) 741
  1292. friend BOOL     operator <=( const char* pCharStr, const String& rStr ) 741
  1293. friend BOOL     operator >=( const String& rStr1, const String& rStr2 ) 741
  1294. friend BOOL     operator >=( const String& rStr, const char* pCharStr ) 741
  1295. friend BOOL     operator >=( const char* pCharStr, const String& rStr ) 741
  1296.  
  1297. Sysdepen für Windows    767
  1298.  
  1299. static HDC      Sysdepen::  GethDC( const OutputDevice& rOutDev )   768
  1300. static HWND     Sysdepen::  GethWnd( const Window& rWindow )    769
  1301. static HMENU    Sysdepen::  GethMenu( const Menu& rMenu )   770
  1302. static HBITMAP  Sysdepen::  GethBitmap( const Bitmap& rBitmap ) 771
  1303. static HICON    Sysdepen::  GethIcon( const Icon& rIcon )   771
  1304. static HCURSOR  Sysdepen::  GethCursor( const Pointer& rPtr )   772
  1305. static void     Sysdepen::  SethBitmap( Bitmap& rBitmap, HBITMAP hBitmap)   773
  1306. static void     Sysdepen::  SethIcon( Icon& rIcon, HICON hIcon, BOOL bDestroy = FALSE ) 774
  1307. static void     Sysdepen::  SethCursor( Pointer& rPointer HCURSOR hCursor,
  1308.                                         BOOL bDestroy = FALSE ) 775
  1309. static HANDLE   Sysdepen::  GethInst()  776
  1310. static HANDLE   Sysdepen::  GethPrevInst()  776
  1311. static HWND     Sysdepen::  GethMDIClient() 777
  1312. static SVHOOK   Sysdepen::  ChangeHook( SVHOOK pHook = NULL )   779
  1313. static SVHOOK   Sysdepen::  GetHook()   780
  1314.  
  1315. Sysdepen für Macintosh  783
  1316.  
  1317. static MenuHandle Sysdepen:: GetMenuHandle( const PopupMenu& rMenu ) 784
  1318. static WindowPtr  Sysdepen:: GetWindowPtr( const Window& rWindow )   785
  1319. static TPPrPort   Sysdepen:: GetPrPortPtr( const Printer& rPrinter ) 785
  1320.  
  1321. SysMessBox : MessBox    479
  1322.  
  1323.                   SysMessBox::    SysMessBox( Window* pParent, WinBits nWinStyle,
  1324.                                               const String& rMessage )   479
  1325.                   SysMessBox::    SysMessBox( Window* pParent, ResId& rResId )    480
  1326.  
  1327. System  483
  1328.  
  1329.                   System::    System()    485
  1330.                   System::    ~System()   485
  1331. static SystemType System::    GetSystemType() 486
  1332. static CPUType    System::    GetCPUType()    486
  1333. static GUIType    System::    GetGUIType()    487
  1334. static String     System::    GetGUIVersion() 487
  1335. static Size       System::    GetScreenSizePixel()    487
  1336. static USHORT     System::    GetMenuBarHeightPixel() 488
  1337. static BOOL       System::    HasMouse()  488
  1338. static USHORT     System::    GetMouseButtonCount()   488
  1339. static Font       System::    GetSystemFont() 489
  1340.  
  1341. SystemWindow : Window   491
  1342.  
  1343. virtual void      SystemWindow::  Activate()  492
  1344. virtual void      SystemWindow::  Deactivate()    492
  1345. virtual           SystemWindow::  ~SystemWindow() 492
  1346. virtual BOOL      SystemWindow::  Close() 493
  1347. Size              SystemWindow::  ChangeOutputSizePixel( const Size& rNewSize )   494
  1348. BOOL              SystemWindow::  IsActive() const    494
  1349.  
  1350. Table : Container   743
  1351.  
  1352. DECLARE_TABLE( ClassName, Type )        744
  1353.                   Table:: Table( USHORT nInitSize = 16, USHORT nReSize = 16 ) 745
  1354.                   Table:: Table( const Table& rTable )    746
  1355. virtual           Table:: ~Table()    746
  1356. BOOL              Table:: Insert( ULONG nKey, void* p )   746
  1357. void*             Table:: Remove( ULONG nKey )    747
  1358. void*             Table:: Replace( ULONG nKey, void* p )  747
  1359. void*             Table:: Get( ULONG nKey ) const 748
  1360. void              Table:: Clear() 748
  1361. ULONG             Table:: Count() const   748
  1362. void*             Table:: GetCurObject() const    749
  1363. ULONG             Table:: GetCurKey() const   749
  1364. ULONG             Table:: GetKey( void* p ) const 750
  1365. BOOL              Table:: IsKeyValid( ULONG nKey ) const  750
  1366. void*             Table:: Seek( ULONG nKey )  751
  1367. void*             Table:: Seek( void* p ) 751
  1368. void*             Table:: First() 752
  1369. void*             Table:: Last()  752
  1370. void*             Table:: Next()  753
  1371. void*             Table:: Prev()  753
  1372. Table&            Table:: operator =( const Table& rTable )   754
  1373. BOOL              Table:: operator ==( const Table& rTable ) const    754
  1374. BOOL              Table:: operator !=( const Table& rTable ) const    754
  1375.  
  1376. Timer   497
  1377.  
  1378. virtual void      Timer:: Timeout()   498
  1379.                   Timer:: Timer() 499
  1380. virtual           Timer:: ~Timer()    499
  1381. ULONG             Timer:: ChangeTimeout( ULONG nTimeout ) 500
  1382. ULONG             Timer:: GetTimeout() const  500
  1383. BOOL              Timer:: IsActive() const    500
  1384. Link              Timer:: ChangeTimeoutHdl( const Link& rLink )   501
  1385. Link              Timer:: GetTimeoutHdl() const   501
  1386. void              Timer:: Start() 502
  1387. void              Timer:: Stop()  502
  1388.  
  1389. TriStateBox : Button    503
  1390.  
  1391.                   TriStateBox::   TriStateBox(Window* pParent, WinBits nWinStyle = 0 )    504
  1392.                   TriStateBox::   TriStateBox( Window* pParent, ResId& rResId )   504
  1393. TriState          TriStateBox::   ChangeState( TriState eState )  505
  1394. TriState          TriStateBox::   GetState() const    505
  1395. void              TriStateBox::   EnableTriState( BOOL bTriState = TRUE ) 506
  1396. BOOL              TriStateBox::   IsTriStateEnabled() 506
  1397.  
  1398. UniqueIndex : Container 755
  1399.  
  1400. DECLARE_UNIQUEINDEX( ClassName, Type )  756
  1401.                   UniqueIndex::   UniqueIndex( ULONG nStartIndex = 0, ULONG nInitSize = 16,
  1402.                                                ULONG nReSize = 16) 757
  1403.                   UniqueIndex::   UniqueIndex( const UniqueIndex& rIdx )  758
  1404. virtual           UniqueIndex::   ~UniqueIndex()  758
  1405. ULONG             UniqueIndex::   Insert( void* p )   758
  1406. void*             UniqueIndex::   Remove( ULONG nIndex )  759
  1407. void*             UniqueIndex::   Replace( ULONG nIndex, void* p )    759
  1408. void*             UniqueIndex::   Get( ULONG nIndex ) const   760
  1409. void              UniqueIndex::   Clear() 760
  1410. ULONG             UniqueIndex::   Count() const   761
  1411. void*             UniqueIndex::   GetCurObject() const    761
  1412. ULONG             UniqueIndex::   GetCurIndex() const 761
  1413. ULONG             UniqueIndex::   GetIndex( void* p ) const   762
  1414. BOOL              UniqueIndex::   IsIndexValid( ULONG nIndex ) const  762
  1415. void*             UniqueIndex::   Seek( ULONG nIndex )    763
  1416. void*             UniqueIndex::   Seek( void* p ) 763
  1417. void*             UniqueIndex::   First() 764
  1418. void*             UniqueIndex::   Last()  764
  1419. void*             UniqueIndex::   Next()  765
  1420. void*             UniqueIndex::   Prev()  765
  1421. UniqueIndex&      UniqueIndex::   operator =( const UniqueIndex& rIdx )   766
  1422. BOOL              UniqueIndex::   operator ==( const UniqueIndex& rIdx ) const    766
  1423. BOOL              UniqueIndex::   operator !=( const UniqueIndex& rIdx ) const    766
  1424.  
  1425. VirtualDevice : OutputDevice    507
  1426.  
  1427.                   VirtualDevice:: VirtualDevice( const OutputDevice& rCompDev )   508
  1428. virtual           VirtualDevice:: ~VirtualDevice()    508
  1429. BOOL              VirtualDevice:: SetOutputSize( const Size& rSize, BOOL bErase = TRUE )  509
  1430. BOOL              VirtualDevice:: SetOutputSizePixel( const Size& rSize, BOOL bErase =TRUE)   510
  1431.  
  1432. WarningBox : MessBox    511
  1433.  
  1434.                   WarningBox::    WarningBox( Window* pParent, WinBits nWinStyle,
  1435.                                               const String& rMessage )  511
  1436.                   WarningBox::    WarningBox( Window* pParent, ResId& rResId )    512
  1437.  
  1438. Window : OutputDevice   515
  1439.  
  1440. virtual void      Window::    MouseMove( const MouseEvent& rMEvt )    517
  1441. virtual void      Window::    MouseButtonDown( const MouseEvent& rMEvt )  518
  1442. virtual void      Window::    MouseButtonUp( const MouseEvent& rMEvt) 519
  1443. virtual void      Window::    KeyInput( const KeyEvent& rKEvt )   519
  1444. virtual void      Window::    Resize()    520
  1445. virtual void      Window::    Move()  520
  1446. virtual void      Window::    GetFocus()  521
  1447. virtual void      Window::    LooseFocus()    521
  1448. virtual void      Window::    Paint( const Rectangle& rRect ) 521
  1449. virtual void      Window::    RequestHelp( const HelpEvent& rHEvt )   522
  1450.                   Window::    Window( Window* pParent, WinBits nWinStyle = 0 )    523
  1451.                   Window::    Window( Window* pParent, ResId& rResId )    523
  1452. virtual           Window::    ~Window()   524
  1453. Window*           Window::    ChangeParent( Window* pNewParent )  524
  1454. Window*           Window::    GetParent() const   524
  1455. void              Window::    Show()  525
  1456. void              Window::    Hide()  525
  1457. BOOL              Window::    IsVisible() const   526
  1458. void              Window::    Enable()    526
  1459. void              Window::    Disable()   526
  1460. BOOL              Window::    IsEnabled() const   527
  1461. Point             Window::    ChangePosPixel( const Point& rNewPos )  527
  1462. Point             Window::    GetPosPixel() const 528
  1463. Size              Window::    ChangeSizePixel( const Size& rNewSize ) 528
  1464. Size              Window::    GetSizePixel() const    529
  1465. void              Window::    SetPosSizePixel( const Point& rNewPos, const Size& rNewSize )   529
  1466. void              Window::    ToTop() 530
  1467. void              Window::    CaptureMouse()  530
  1468. void              Window::    ReleaseMouse()  530
  1469. void              Window::    GrabFocus() 531
  1470. BOOL              Window::    HasFocus() const    531
  1471. void              Window::    Scroll( short nHorzScroll, short nVertScroll )  531
  1472. void              Window::    Scroll( short nHorzScroll, short nVertScroll,
  1473.                                       const Rectangle& rRect )    532
  1474. void              Window::    Invalidate()    534
  1475. void              Window::    Invalidate( const Rectangle& rRect )    534
  1476. void              Window::    InvalidateForeground()  535
  1477. void              Window::    InvalidateForeground( const Rectangle& rRect )  535
  1478. void              Window::    Update()    536
  1479. BOOL              Window::    ChangeUpdateMode( BOOL bUpdate )    536
  1480. BOOL              Window::    GetUpdateMode() const   537
  1481. Point             Window::    OutputToScreenPixel( const Point& rPt ) const   537
  1482. Point             Window::    ScreenToOutputPixel( const Point& rPt ) const   538
  1483. void              Window::    Flash() 538
  1484. void              Window::    SetText( const String& rString )    539
  1485. String            Window::    GetText() const 539
  1486. USHORT            Window::    GetTextLen() const  539
  1487. Pointer           Window::    ChangePointer( const Pointer& rPointer )    540
  1488. Pointer           Window::    GetPointer() const  540
  1489. Cursor*           Window::    ChangeCursor( const Cursor* pCursor )   541
  1490. Cursor*           Window::    GetCursor() const   541
  1491. void              Window::    SetHelpText( const String& rString )    542
  1492. String            Window::    GetHelpText() const 542
  1493. USHORT            Window::    GetHelpTextLen() const  542
  1494. ULONG             Window::    ChangeHelpId( ULONG nHelpId )   543
  1495. ULONG             Window::    GetHelpId() const   543
  1496.  
  1497. WorkWindow : SystemWindow   545
  1498.  
  1499.                   WorkWindow::    WorkWindow( Window* pParent,
  1500.                                               WinBits nWinStyle = WB_STDWORK )  545
  1501.                   WorkWindow::    WorkWindow( Window* pParent, ResId& rResId )    547
  1502. virtual           WorkWindow::    ~WorkWindow()   547
  1503. void              WorkWindow::    Maximize()  548
  1504. void              WorkWindow::    Minimize()  548
  1505. void              WorkWindow::    Restore()   549
  1506. BOOL              WorkWindow::    IsMaximized() const 549
  1507. BOOL              WorkWindow::    IsMinimized() const 550
  1508. Icon              WorkWindow::    ChangeIcon( const Icon& rNewIcon )  550
  1509. Icon              WorkWindow::    GetIcon() const 551
  1510.  
  1511. 3 Konstanten
  1512.  
  1513. 3.1. WinBits
  1514.  
  1515. #define WB_APP
  1516. #define WB_BORDER
  1517. #define WB_CENTER
  1518. #define WB_CLIPCHILDREN
  1519. #define WB_CLOSEABLE
  1520. #define WB_DEF_CANCEL
  1521. #define WB_DEF_NO
  1522. #define WB_DEF_OK
  1523. #define WB_DEF_RETRY
  1524. #define WB_DEF_YES
  1525. #define WB_GROUP
  1526. #define WB_HSCROLL
  1527. #define WB_LEFT
  1528. #define WB_MAXABLE
  1529. #define WB_MINABLE
  1530. #define WB_MINMAX
  1531. #define WB_MOVEABLE
  1532. #define WB_OK
  1533. #define WB_OK_CANCEL
  1534. #define WB_RETRY_CANCEL
  1535. #define WB_RIGHT
  1536. #define WB_SIZEABLE
  1537. #define WB_SIZEMOVE
  1538. #define WB_SORT
  1539. #define WB_STDMDI
  1540. #define WB_STDMODAL
  1541. #define WB_STDMODELESS
  1542. #define WB_STDWORK
  1543. #define WB_SYSMODAL
  1544. #define WB_TABSTOP
  1545. #define WB_VSCROLL
  1546. #define WB_YES_NO
  1547. #define WB_YES_NO_CANCEL
  1548.  
  1549.  
  1550. 3.2 Maus- und Tastatur-Konstanten
  1551.  
  1552. Mausmodi im MouseMove-Handler:
  1553.  
  1554. MOUSE_MOVE      Normale Mausbewegung.
  1555. MOUSE_SIMPLEDRAG    Mausbewegung mit Selektierung.
  1556. MOUSE_EXTDRAG   Mausbewegung mit erweiterter Selektierung.
  1557.  
  1558. Mausmodi im MouseButtonDown/Up-Handler:
  1559.  
  1560. MOUSE_SIMPLE    Normale Selektion.
  1561. MOUSE_EXT   Selektion aufheben oder erweiterte Selektion.
  1562. MOUSE_MULTI Mehrfachselektion.
  1563.  
  1564. Maustasten
  1565.  
  1566. MOUSE_LEFT  Linke Maustaste.
  1567. MOUSE_MIDDLE    Mittlere Maustaste.
  1568. MOUSE_RIGHT Rechte Maustaste.
  1569.  
  1570. Basistastencodes
  1571.  
  1572. KEY_0 ... KEY_9 Die Zahlentasten.
  1573.  
  1574. KEY_A ... KEY_Z Die Buchstabentasten ohne Umlaute.
  1575.  
  1576. KEY_F1 ... KEY_F24  Die Funktionstasten.
  1577.  
  1578. KEY_UP  Cursor nach oben.
  1579. KEY_DOWN    Cursor nach unten.
  1580. KEY_LEFT    Cursor nach links.
  1581. KEY_RIGHT   Cursor nach rechts.
  1582. KEY_HOME    Cursor an den Zeilenanfang.
  1583. KEY_END Cursor an das Zeilenende.
  1584. KEY_PAGEUP  Cursor eine Seite nach oben.
  1585. KEY_PAGEDOWN    Cursor eine Seite nach unten.
  1586.  
  1587. KEY_RETURN  Die Eingabe-Taste (CR und Enter).
  1588. KEY_ESCAPE  Die Escape-Taste.
  1589. KEY_TAB Die Tabulator-Taste.
  1590. KEY_BACKSPACE   Die Backspace-Taste.
  1591. KEY_SPACE   Die Leertaste.
  1592. KEY_INSERT  Die Einfüge-Taste.
  1593. KEY_DELETE  Die Delete-Taste.
  1594.  
  1595. Modifier-Tasten
  1596.  
  1597. KEY_SHIFT   Die Shift-Taste.
  1598. KEY_MOD1    Die Control-Taste (Command-Taste beim Macintosh).
  1599. KEY_MOD2    Die Alt-Taste (Option-Taste beim Macintosh).
  1600.  
  1601. Key-Gruppen
  1602.  
  1603. KEYGROUP_NUM    KEY_0 ... KEY_9.
  1604. KEYGROUP_ALPHA  KEY_A ... KEY_Z.
  1605. KEYGROUP_FKEYS  KEY_F1 ... KEY_F24.
  1606. KEYGROUP_CURSOR KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT,
  1607.     KEY_HOME, KEY_END, KEY_PAGEUP,
  1608.     KEY_PAGEDOWN.
  1609. KEYGROUP_MISC   KEY_RETURN, KEY_ESCAPE, KEY_TAB,
  1610.     KEY_BACKSPACE, KEY_SPACE, KEY_INSERT,
  1611.     KEY_DELETE.
  1612.  
  1613.  
  1614.  
  1615. 4 Aufzählungstypen
  1616.  
  1617. enum BrushStyle { BRUSH_NULL, BRUSH_SOLID, BRUSH_HORZ,
  1618.          BRUSH_VERT, BRUSH_CROSS, BRUSH_DIAGCROSS,
  1619.          BRUSH_UPDIAG, BRUSH_DOWNDIAG, BRUSH_25,
  1620.          BRUSH_50, BRUSH_75, BRUSH_BITMAP } 60
  1621.  
  1622. enum ColorName { COL_BLACK, COL_BLUE, COL_GREEN, COL_CYAN,
  1623.           COL_RED, COL_MAGENTA, COL_BROWN, COL_GRAY,
  1624.           COL_LIGHTGRAY, COL_LIGHTBLUE, COL_LIGHTGREEN,
  1625.           COL_LIGHTCYAN, COL_LIGHTRED,
  1626.           COL_LIGHTMAGENTA, COL_YELLOW, COLOR_WHITE,
  1627.           COL_MENUBAR, COL_MENUBARTEXT,
  1628.           COL_POPUPMENU, COL_POPUPMENUTEXT,
  1629.           COL_WINDOWTEXT, COL_WINDOWWORKSPACE,
  1630.           COL_HIGHLIGHT, COL_HIGHLIGHTTEXT,
  1631.           COL_3DTEXT, COL_3DFACE, COL_3DLIGHT,
  1632.           COL_3DSHADOW, COL_USER }  98
  1633.  
  1634. enum CPUType    { CPU_DONTKNOW, CPU_I286, CPU_I386, CPU_I486,
  1635.           CPU_M68000, CPU_M68010, CPU_M68020, CPU_M68030,
  1636.           CPU_M68040, CPU_SPARC }   484
  1637.  
  1638. enum FontAlign   { ALIGN_TOP, ALIGN_BASELINE, ALIGN_BOTTOM }    179
  1639.  
  1640. enum FontCharSet { CHARSET_DONTKNOW, CHARSET_ANSI, CHARSET_IBMPC,
  1641.            CHARSET_MAC, CHARSET_SYMBOL }    177
  1642.  
  1643. enum FontFamily  { FAMILY_DONTKNOW, FAMILY_DECORATIVE,
  1644.           FAMILY_MODERN, FAMILY_ROMAN,
  1645.           FAMILY_SCRIPT, FAMILY_SWISS, FAMILY_SYSTEM }  177
  1646.  
  1647. enum FontPitch   { PITCH_DONTKNOW, PITCH_FIXED, PITCH_VARIABLE }    178
  1648.  
  1649. enum FontType { TYPE_DONTKNOW, TYPE_RASTER, TYPE_VECTOR, TYPE_SCALABLE }    203
  1650.  
  1651. enum FontWeight  { WEIGHT_DONTKNOW, WEIGHT_LIGHT, WEIGHT_NORMAL,
  1652.            WEIGHT_BOLD }        178
  1653.  
  1654. enum GUIType { GUI_DONTKNOW, GUI_WINDOWS, GUI_PM, GUI_MAC, GUI_MOTIF }  485
  1655.  
  1656. enum HelpMode{ HELPMODE_CONTEXT, HELPMODE_EXTENDED, HELPMODE_ALL }  231
  1657.  
  1658. enum IconStyle { ICON_DEFAULT, ICON_INFO, ICON_WARNING, ICON_ERROR, ICON_QUERY,
  1659.       ICON_NULL }       236
  1660.  
  1661. enum MapUnit { MAP_100TH_MM, MAP_10TH_MM, MAP_MM, MAP_CM, MAP_1000TH_INCH,
  1662.      MAP_100TH_INCH, MAP_10TH_INCH, MAP_INCH, MAP_POINT, MAP_TWIP,
  1663.      MAP_PIXEL, MAP_SYSFONT, MAP_APPFONT }  268
  1664.  
  1665. enum Orientation { ORIENTATION_PORTRAIT, ORIENTATION_LANDSCAPE }    424
  1666.  
  1667. enum PenStyle{ PEN_NULL, PEN_SOLID, PEN_DOT, PEN_DASH, PEN_DASHDOT} 394
  1668.  
  1669. enum PointerStyle { POINTER_ARROW, POINTER_WAIT, POINTER_CROSS, POINTER_BEAM,
  1670.           POINTER_NULL }        404
  1671.  
  1672. enum Priority { PRIORITY_LOW, PRIORITY_HIGH }   425
  1673.  
  1674. enum Quality { QUALITY_PROOF, QUALITY_DRAFT }   425
  1675.  
  1676. enum RasterOp { ROP_OVERPAINT, ROP_INVERT, ROP_AND, ROP_OR, ROP_XOR, ROP_NXOR } 355
  1677.  
  1678. enum SysChangeType { CHANGE_FONTCOUNT, CHANGE_OTHER }   23
  1679.  
  1680. enum SystemType { SYS_DONTKNOW, SYS_PC, SYS_MAC, SYS_SUN }  484
  1681.  
  1682. enum TriState { STATE_NOCHECK, STATE_CHECK, STATE_DONTKNOW }    504
  1683.  
  1684.  
  1685.  
  1686. 5 Resource-Syntax
  1687.  
  1688. 5.1 Compiler-Schalter
  1689.  
  1690. Mit den folgenden Schaltern steuern Sie sowohl die Verarbeitung der Quelldatei(en), als auch die vom StarView Resource-Compiler erzeugten Ausgabedateien.
  1691.  
  1692. -br         Gilt nur für MS-DOS. Es wird der rsc2r.exe anstelle von rsc2.exe
  1693.             aufgerufen.
  1694.  
  1695. -bz         Gilt nur für MS-DOS. Es wird der rsc2z.exe anstelle von rsc2.exe
  1696.             aufgerufen.
  1697.  
  1698. -d<Symbol>      Symboldefinitionen für den Präprozessor.
  1699.  
  1700. -fc<Dateiname>  Code-Datei. In diese Datei mit der Endung ».CXX« werden die
  1701.             Resource-Konstruktoren der in der RC-Datei spezifizierten Klas-
  1702.             sen geschrieben. Die Sprache ist C++.
  1703.  
  1704. -fh<Dateiname>  Header-Datei. In diese Datei mit der Endung ».HXX« werden
  1705.             die Deklarationen der in der RC-Datei spezifizierten Klassen ge-
  1706.             schrieben. Auch hier ist die Sprache C++.
  1707.  
  1708. -fl<Dateiname>  Listing-Datei. In diese Datei werden Fehlermeldungen
  1709.             ausgegeben.
  1710.  
  1711. -fo<Dateiname>  Umbenennung der RES-Datei. Der per Default vergebene Name
  1712.             ist der Name der ersten Quelldatei. Er bekommt die Endung
  1713.             ».RES«. Die RES-Datei ist die vom systemabhängigen Resource-
  1714.             Compiler erzeugte Binärdatei.
  1715.  
  1716. -fp<Dateiname>  Umbenennung der SRS-Datei. Der per Default vergebene Name
  1717.             ist der Name der ersten Quelldatei und die Endung ».SRS«. Die
  1718.             SRS-Datei ist eine symbolfreie Resource-Beschreibungsdatei. Sie
  1719.             wird nur dann erzeugt, wenn Sie RSC.EXE mit dem Schalter »-s«
  1720.             aufrufen.
  1721.  
  1722. -fs<Dateiname>  Umbenennung der RC-Datei. Der per Default vergebene Name
  1723.             ist der Name der ersten Quelldatei und die Endung ».RC«. Die
  1724.             RC-Datei ist die vom systemabhängigen Resource-Compiler er-
  1725.             zeugte Resource-Beschreibungsdatei.
  1726.  
  1727. -h          Zeigt eine Kurzfassung der möglichen Parameter an.
  1728. -i<Pfad(e)>     Include-Direktiven für den Präprozessor, falls weitere Suchpfade
  1729.             für Include-Dateien berücksichtigt werden sollen.
  1730.  
  1731. -l          Es wird eine Syntaxanalyse vorgenommen, und der Präprozessor
  1732.             wird nicht aufgerufen. Eine RC-Datei wird erzeugt. Der system-
  1733.             abhängige Resource-Compiler (RC.EXE) wird aufgerufen, der
  1734.             jetzt seinerseits eine RES-Datei erstellt.
  1735.  
  1736. -p          Kein Präprozessor, dafür aber eine Auflösung
  1737.             der Resourcen, die auch vom Design-Editor
  1738.             bearbeitet werden können (s.a. »Präprozessor«).
  1739.  
  1740. -pp<Dateiname>  Anderen Präprozessor verwenden (siehe »Präprozessor«).
  1741.  
  1742. -r          Der systemabhängige Resource-Compiler (z.B. RC.EXE für Win-
  1743.             dows) wird nicht aufgerufen, es wird keine RES-Datei erzeugt.
  1744.  
  1745. -s          Es wird eine Syntaxanalyse vorgenommen und eine Datei mit der           Endung ».SRS« erzeugt.
  1746.  
  1747. -WIN            Es wird eine MS-Windows-Resource erstellt.
  1748.  
  1749. -MTF            Es wird eine X-Windows- (Motif-) Resource erstellt.
  1750.  
  1751. -MAC            Es wird eine Macintosh-Resource erstellt.
  1752.  
  1753. -REFDEEP<Zahl>  Die Zahl gibt an, wie tief der Resource-Compiler die Referenzen
  1754.             auflösen soll. Default ist 10, das heißt der Compiler löst ver-
  1755.             schachtelungen von Referenzen bis 10 auf.
  1756.  
  1757.  
  1758. 5.2 Syntax
  1759.  
  1760. Compiler-Anweisungen
  1761.  
  1762. #pragma CHARSET IBMPC
  1763. #pragma CHARSET ANSI
  1764. #pragma CHARSET MAC
  1765.  
  1766. Default Präprozessor-Syntax
  1767.  
  1768. PrepDefinition:
  1769.         { IncludeDefinition }
  1770.         [{ DefineDefinition  }]
  1771.  
  1772. IncludeDefinition:
  1773.         '#' include '<' Dateiname '>' |
  1774.         '#' include String
  1775.  
  1776. DefineDefinition:
  1777.         '#' define SYMBOL NumberExpression
  1778.  
  1779.  
  1780. Class-Syntax
  1781.  
  1782. ResourceDefinition:
  1783.         [ PrepDefinition ]
  1784.         { ClassDefinition }
  1785.  
  1786. ClassDefinition:
  1787.         ClassHeader ClassBody ';'
  1788.         ClassHeader ';' |
  1789.         NumberExpression ';' |
  1790.         TupelExpression ';' |
  1791.         CONSTNAME ';' |
  1792.         Boolean ';' |
  1793.         String ';'
  1794.  
  1795. ClassHeader:
  1796.         CLASSNAME [ Identifier ] [ ',' | '<' Identifier ]
  1797.  
  1798.  
  1799. ClassBody:
  1800.     '{'
  1801.         {
  1802.             ClassDefinition |
  1803.             VariableDefiniton
  1804.         }
  1805.     '}'
  1806.  
  1807. VariableDefinition:
  1808.         VARIABLENAME '=' ClassDefinition |
  1809.         VARIABLENAME '=' '{' { ClassDefinition } '}' ';'
  1810.  
  1811. TupelExpression:
  1812.     [ ClassDefinition ] '(' { ClassDefinition } ')'
  1813.  
  1814. NumberExpression:
  1815.         [ '-' | '+' ] Number |
  1816.         NumberExpression '+' | '-' | '*' | '/'
  1817.         NumberExpression |
  1818.         [ '-' | '+' ] '(' NumberExpression ')'
  1819.  
  1820. Identifier:
  1821.         NumberExpression |
  1822.         Symbol
  1823.  
  1824. Number:
  1825.         { DEZIMALZIFFER } |
  1826.         '0' 'x' { HEXADEZIMALZIFFER }
  1827.  
  1828. Boolean:
  1829.         TRUE | FALSE
  1830.  
  1831.  
  1832.  
  1833. 5.3 StarView-Resourceklassen
  1834.  
  1835. Stehen hinter einem Variablennamen drei Punkte, dann ist kein Default definiert, oder der Default ist auf den Systemen verschieden.
  1836.  
  1837.  
  1838. Resource Accelerator
  1839.  
  1840. Default:
  1841. Accelerator
  1842. {
  1843.     HelpText = "";
  1844.     KeyList  = {};
  1845. };
  1846.  
  1847.  
  1848. Resource AcceleratorKey
  1849.  
  1850. Default:
  1851. AcceleratorKey
  1852. {
  1853.     Identifier      = ...;
  1854.     DISABLE         = FALSE;
  1855.     Shift           = FALSE;
  1856.     Modifier1       = FALSE;
  1857.     Modifier2       = FALSE;
  1858.     Code                = ...;
  1859. };
  1860.  
  1861.  
  1862. Resource AutoCheckBox
  1863.  
  1864. Beispiel:
  1865. AutoCheckBox {};
  1866.  
  1867.  
  1868. Resource AutoRadioButton
  1869.  
  1870. Beispiel:
  1871. AutoRadioButton {};
  1872.  
  1873.  
  1874. Resource AutoScrollBar
  1875.  
  1876. Beispiel:
  1877. AutoScrollBar {};
  1878.  
  1879.  
  1880. Resource AutoTriStateBox
  1881.  
  1882. Beispiel:
  1883. AutoTriStateBox {};
  1884.  
  1885.  
  1886. Resource Bitmap
  1887.  
  1888. Default:
  1889. Bitmap
  1890. {
  1891.     File = "";
  1892. };
  1893.  
  1894.  
  1895. Resource Brush
  1896.  
  1897. Default:
  1898. Brush
  1899. {
  1900.     Style       = BRUSH_SOLID;
  1901.     Transparent = FALSE;
  1902.     FillColor   = Color { ... };
  1903.     BrushColor  = Color { ... };
  1904. };
  1905.  
  1906.  
  1907. Resource Button
  1908.  
  1909. Beispiel:
  1910. Button {};
  1911.  
  1912.  
  1913. Resource CheckBox
  1914.  
  1915. Default:
  1916. CheckBox
  1917. {
  1918.     Check = FALSE;
  1919. };
  1920.  
  1921.  
  1922. Resource Color
  1923.  
  1924. Default:
  1925. Color
  1926. {
  1927.     Predefine = COL_USER; // RGB gültig
  1928.     RGB = (0, 0, 0);       // schwarz
  1929. };
  1930.  
  1931.  
  1932. Resource ComboBox
  1933.  
  1934. Default:
  1935. ComboBox
  1936. {
  1937.     MaxTextLength = 0;
  1938. };
  1939.  
  1940.  
  1941. Resource Control
  1942.  
  1943. Default:
  1944. Control
  1945. {
  1946.     TabStop     = FALSE;
  1947.     Group       = FALSE;
  1948. };
  1949.  
  1950.  
  1951. Resource DefPushButton
  1952.  
  1953. Beispiel:
  1954. DefPushButton {};
  1955.  
  1956.  
  1957. Resource Dialog
  1958.  
  1959. Beispiel:
  1960. [Dialog] {};
  1961.  
  1962.  
  1963. Resource DropDownComboBox
  1964.  
  1965. Beispiel:
  1966. DropDownComboBox {};
  1967.  
  1968.  
  1969. Resource DropDownListBox
  1970.  
  1971. Beispiel:
  1972. DropDownListBox {};
  1973.  
  1974.  
  1975. Resource Edit
  1976.  
  1977. Default:
  1978. [Edit]
  1979. {
  1980.     Left                    = FALSE;
  1981.     Center              = FALSE;
  1982.     Right               = FALSE;
  1983.     MaxTextLength       = 0;
  1984. };
  1985.  
  1986.  
  1987. Resource ErrorBox
  1988.  
  1989. Beispiel:
  1990. ErrorBox {};
  1991.  
  1992.  
  1993. Resource FixedBitmap
  1994.  
  1995. Default:
  1996. FixedBitmap
  1997. {
  1998.     Fixed   = Bitmap{};
  1999. };
  2000.  
  2001.  
  2002. Resource FixedIcon
  2003.  
  2004. Default:
  2005. FixedIcon
  2006. {
  2007.     Fixed   = Icon{};
  2008. };
  2009.  
  2010.  
  2011. Resource FixedText
  2012.  
  2013. Default:
  2014. FixedText
  2015. {
  2016.     Left            = FALSE;
  2017.     Center      = FALSE;
  2018.     Right       = FALSE;
  2019. };
  2020.  
  2021.  
  2022. Resource Font
  2023.  
  2024. Default:
  2025. Font
  2026. {
  2027.     Family              = FAMILY_DONTKNOW;
  2028.     Weight              = WEIGHT_NORMAL;
  2029.     CharSet             = CHARSET_DONTKNOW;
  2030.     Pitch               = PITCH_DONTKNOW;
  2031.     Align               = ALIGN_TOP;
  2032.     Height              = 0;
  2033.     Width               = 0;
  2034.     CharOrientation     = 0;
  2035.     LineOrientation     = 0;
  2036.     Italic              = FALSE;
  2037.     Underline           = FALSE;
  2038.     StrikeOut           = FALSE;
  2039.     Transparent         = FALSE;
  2040.     Shadow              = FALSE;
  2041.     OutLine             = FALSE;
  2042.     Text                    = "";
  2043.     FontColor           = Color { ... };
  2044.     FillColor           = Color { ... };
  2045. };
  2046.  
  2047.  
  2048. Resource GroupBox
  2049.  
  2050. Beispiel:
  2051. GroupBox {};
  2052.  
  2053.  
  2054. Resource Icon
  2055.  
  2056. Default:
  2057. Icon
  2058. {
  2059.     Predefine = ICON_DEFAULT;
  2060. };
  2061.  
  2062.  
  2063. Resource InfoBox
  2064.  
  2065. Beispiel:
  2066. InfoBox {};
  2067.  
  2068.  
  2069. Resource ListBox
  2070.  
  2071. Default:
  2072. ListBox
  2073. {
  2074.     Sort            = FALSE;
  2075.     CurPos      = 0;
  2076.     StringList  = {};
  2077. };
  2078.  
  2079.  
  2080. Resource MapMode
  2081.  
  2082. Default:
  2083. MapMode
  2084. {
  2085.     MapUnit = MAP_APPFONT;
  2086.     X = 0;
  2087.     Y = 0;
  2088.     xScale = ( 1, 1 );
  2089.     yScale = ( 1, 1 );
  2090. };
  2091.  
  2092.  
  2093. Resource MDIWindow
  2094.  
  2095. Beispiel:
  2096. MDIWindow {};
  2097.  
  2098.  
  2099. Resource Menu
  2100.  
  2101. Default:
  2102.  
  2103. Menu
  2104. {
  2105.     ItemList = {};
  2106. };
  2107.  
  2108.  
  2109. Resource MenuItem
  2110.  
  2111. Default:
  2112. MenuItem
  2113. {
  2114.     Text            = "";
  2115.     HelpText        = "";
  2116.     Identifier  = ...;
  2117.     HelpId      = 0;
  2118.     Check       = FALSE;
  2119.     Disable     = TRUE;
  2120.     Seperator   = FALSE;
  2121.     ItemBitmap = ...;
  2122. };
  2123.  
  2124.  
  2125. Resource MessBox
  2126.  
  2127. Default:
  2128. MessBox
  2129. {
  2130.     Title       = "";
  2131.     Message     = "";
  2132.     Buttons     = WB_OK;
  2133.     HelpId      = 0;
  2134.     HelpText        = "";
  2135.     DefaultButton   = ...;
  2136. };
  2137.  
  2138.  
  2139. Resource ModalDialog
  2140.  
  2141. Default:
  2142. ModalDialog
  2143. {
  2144.     SysModal    = FALSE;
  2145. };
  2146.  
  2147.  
  2148. Resource ModelessDialog
  2149.  
  2150. Beispiel:
  2151. ModelessDialog {};
  2152.  
  2153.  
  2154. Resource MultiLineEdit
  2155.  
  2156. Default:
  2157. MultiLineEdit
  2158. {
  2159.     HSCROLL = FALSE;
  2160.     VSCROLL = FALSE;
  2161. };
  2162.  
  2163.  
  2164. Resource OutputDevice
  2165.  
  2166. Default:
  2167. OutputDevice {
  2168.     OutputPen       = Pen { ... };
  2169.     BackGroundBrush = Brush { ... };
  2170.     FillInBrush     = Brush{ ... };
  2171.     OutputFont      = Font { ... };
  2172.     OutputMapMode   = MapMode { ... };
  2173. };
  2174.  
  2175.  
  2176. Resource Pen
  2177.  
  2178. Default:
  2179. Pen
  2180. {
  2181.     Width           = 0;
  2182.     Style           = PEN_NULL;
  2183.     PenColor            = Color {};
  2184. };
  2185.  
  2186.  
  2187. Resource Pointer
  2188.  
  2189. Default:
  2190.  
  2191. Pointer
  2192. {
  2193.     Predefine   = POINTER_ARROW;
  2194.     File        = "";
  2195. };
  2196.  
  2197.  
  2198. Resource PushButton
  2199.  
  2200. Beispiel:
  2201. PushButton {};
  2202.  
  2203.  
  2204. Resource QueryBox
  2205.  
  2206. Beispiel:
  2207. QueryBox {};
  2208.  
  2209.  
  2210. Resource RadioButton
  2211.  
  2212. Default:
  2213. RadioButton
  2214. {
  2215.     Check = FALSE;
  2216. };
  2217.  
  2218.  
  2219. Resource Resource
  2220.  
  2221. Default:
  2222.  
  2223. Resource
  2224. {
  2225.     Comment     = "";
  2226.     ExtraData   = {};
  2227. };
  2228.  
  2229.  
  2230. Resource ScrollBar
  2231.  
  2232. Default:
  2233. ScrollBar
  2234. {
  2235.     MinPos      = 0;
  2236.     MaxPos      = 100;
  2237.     ThumbPos        = 0;
  2238.     PageSize        = 10;
  2239.     LineSize        = 1;
  2240.     VSCROLL     = FALSE;
  2241.     HSCROLL     = FALSE;
  2242. };
  2243.  
  2244.  
  2245. Resource SingleLineEdit
  2246.  
  2247. Beispiel:
  2248. SingleLineEdit {};
  2249.  
  2250.  
  2251. Resource String
  2252.  
  2253. Default:
  2254. String {
  2255.     Text = "";
  2256. };
  2257.  
  2258.  
  2259. Resource SysMessBox
  2260.  
  2261. Beispiel:
  2262. SysMessBox {};
  2263.  
  2264.  
  2265. Resource SystemWindow
  2266.  
  2267. Default:
  2268.  
  2269. [SystemWindow]
  2270. {
  2271.     Sizeable        = FALSE;
  2272.     Moveable        = FALSE;
  2273.     Minable     = FALSE;
  2274.     Maxable     = FALSE;
  2275.     Closeable   = FALSE;
  2276.     App         = FALSE;
  2277.     OutputSize  = FALSE;
  2278. };
  2279.  
  2280.  
  2281. Resource TriStateBox
  2282.  
  2283. Default:
  2284. TriStateBox
  2285. {
  2286.     TriStateDisable = FALSE;
  2287.     TriState            = STATE_NOCHECK;
  2288. };
  2289.  
  2290.  
  2291. Resource WarningBox
  2292.  
  2293. Beispiel:
  2294. WarningBox {};
  2295.  
  2296.  
  2297. Resource Window
  2298.  
  2299. Default:
  2300. Window
  2301. {
  2302.     HelpId          = 0;
  2303.     Border          = FALSE;
  2304.     Hide                = FALSE;
  2305.     ClipChildren        = FALSE;
  2306.     Disable         = FALSE;
  2307.     WindowPointer   = ...;
  2308.     Text                = "";
  2309.     HelpText            = "";
  2310.     Pos             = ... ( ..., ... );
  2311.     Size                = ... ( ..., ... );
  2312. };
  2313.  
  2314.  
  2315. Resource WorkWindow
  2316.  
  2317. Default:
  2318. WorkWindow
  2319. {
  2320.     Show                = SHOW_NORMAL;
  2321.     WorkWindowIcon  = ...;
  2322. };
  2323.  
  2324.