1 Klassen-Referenz Accelerator : Resource 1 virtual void Accelerator:: Activate() 5 virtual void Accelerator:: Deactivate() 5 virtual void Accelerator:: Select() 6 Accelerator:: Accelerator() 6 Accelerator:: Accelerator( ResId& rResId ) 6 virtual Accelerator:: ~Accelerator() 7 BOOL Accelerator:: InsertItem(USHORT nItemId,const KeyCode&rKeyCode) 7 BOOL Accelerator:: InsertItem( ResId& rResId ) 8 void Accelerator:: RemoveItem( USHORT nItemId ) 8 USHORT Accelerator:: GetItemCount() const 9 USHORT Accelerator:: GetItemId( USHORT nPos ) const 9 USHORT Accelerator:: GetItemId(const KeyCode& rKeyCode )const 10 USHORT Accelerator:: GetCurItemId() const 10 KeyCode Accelerator:: GetCurKeyCode() const 11 USHORT Accelerator:: GetCurRepeat() const 11 BOOL Accelerator:: IsCancel() const 12 Accelerator* Accelerator:: ChangeAccel( USHORT nItemId, Accelerator*pAccel ) 12 Accelerator* Accelerator:: GetAccel( USHORT nItemId ) const 13 void Accelerator:: EnableItem( USHORT nItemId, BOOL bEnable = TRUE ) 13 BOOL Accelerator:: IsItemEnabled( USHORT nItemId ) const 14 KeyCode Accelerator:: ChangeKeyCode( USHORT nItemId, const KeyCode& rKeyCode ) 14 KeyCode Accelerator:: GetKeyCode( USHORT nItemId ) const 15 void Accelerator:: SetHelpText( const String& rHelpString ) 15 String Accelerator:: GetHelpText() const 16 USHORT Accelerator:: GetHelpTextLen() const 16 void Accelerator:: PushActivateHdl( const Link& rLink ) 16 Link Accelerator:: PopActivateHdl() 17 void Accelerator:: PushDeactivateHdl( const Link& rLink ) 17 Link Accelerator:: PopDeactivateHdl() 18 void Accelerator:: PushSelectHdl( const Link& rLink ) 18 Link Accelerator:: PopSelectHdl() 19 Application 21 void Application:: Execute() 24 virtual BOOL Application:: QueryExit() 24 virtual void Application:: SysChange( SysChangeType eChgType) 25 virtual void Application:: ActivateExtHelp() 25 virtual void Application:: DeactivateExtHelp() 26 Application:: Application() 26 virtual Application:: ~Application() 26 virtual void Application:: Main( int nArgc, char* pArgv[]) = 0 27 BOOL Application:: IsInMain() const 28 BOOL Application:: IsInExecute() const 29 void Application:: Wait( BOOL bWait = TRUE ) 29 BOOL Application:: IsWait() const 30 BOOL Application:: AnyInput() 30 void Application:: Quit() 30 void Application:: Reschedule() 31 BOOL Application:: InsertIdleHdl(const Link& rLink,USHORT nPriority) 32 void Application:: RemoveIdleHdl( const Link& rLink ) 33 WorkWindow* Application:: GetAppWindow() const 34 MenuBar* Application:: ChangeAppMenu( MenuBar* pAppMenu = NULL ) 34 MenuBar* Application:: GetAppMenu() const 35 Font Application:: ChangeAppFont( const Font& rFont ) 35 Font Application:: GetAppFont() const 36 BOOL Application:: InsertAccel( Accelerator* pAccel ) 37 void Application:: RemoveAccel( Accelerator* pAccel ) 37 void Application:: FlushAccel() 38 Help* Application:: ChangeHelp( Help* pHelp = NULL ) 38 Help* Application:: GetHelp() const 39 void Application:: EnableHelp( HelpMode eHelpMode ) 39 void Application:: DisableHelp( HelpMode eHelpMode ) 40 BOOL Application:: IsHelpEnabled( HelpMode eHelpMode ) const 40 AutoCheckBox : CheckBox 43 AutoCheckBox:: AutoCheckBox( Window* pParent, WinBits nWinStyle = 0) 43 AutoCheckBox:: AutoCheckBox( Window* pParent, ResId& rResId ) 44 AutoRadioButton : RadioButton 45 AutoRadioButton:: AutoRadioButton( Window* pParent, WinBits nWinStyle = 0 ) 45 AutoRadioButton:: AutoRadioButton( Window* pParent, ResId& rResId ) 46 AutoScrollBar : ScrollBar 47 AutoScrollBar:: AutoScrollBar( Window* pParent, WinBits nWinStyle = WB_VSCROLL ) 47 AutoScrollBar:: AutoScrollBar( Window* pParent, ResId& rResId ) 48 AutoTimer : Timer 49 AutoTimer:: AutoTimer() 49 virtual AutoTimer:: ~AutoTimer() 49 AutoTriStateBox : TriStateBox 51 AutoTriStateBox:: AutoTriStateBox( Window* pParent, WinBits nWinStyle = 0 ) 51 AutoTriStateBox:: AutoTriStateBox( Window* pParent, ResId& rResId ) 52 Bitmap : Resource 53 Bitmap:: Bitmap() 54 Bitmap:: Bitmap( const Bitmap& rBitmap ) 54 Bitmap:: Bitmap( ResId& rResId ) 54 virtual Bitmap:: ~Bitmap() 55 Size Bitmap:: GetSizePixel() const 55 ULONG Bitmap:: GetColorCount() const 55 Bitmap& Bitmap:: operator =( const Bitmap& rBitmap ) 55 BOOL Bitmap:: operator ==( const Bitmap& rBitmap ) const 56 BOOL Bitmap:: operator !=( const Bitmap& rBitmap ) const 56 Brush : Resource 59 Brush:: Brush() 62 Brush:: Brush( const Brush& rBrush ) 62 Brush:: Brush( BrushStyle eStyle ) 62 Brush:: Brush( const Color& rColor, BrushStyle eStyle=BRUSH_SOLID ) 63 Brush:: Brush( const Color& rColor, const Color& rFillColor, BrushStyle eStyle ) 63 Brush:: Brush( Bitmap& rBitmap ) 64 Brush:: Brush( ResId& rResId ) 64 virtual Brush:: ~Brush() 65 Color Brush:: ChangeColor( const Color& rColor ) 65 Color Brush:: GetColor() const 65 Color Brush:: ChangeFillColor( const Color& rColor ) 66 Color Brush:: GetFillColor() const 66 BrushStyle Brush:: ChangeStyle( BrushStyle eStyle ) 66 BrushStyle Brush:: GetStyle() const 67 Bitmap Brush:: ChangeBitmap( const Bitmap& rBitmap ) 67 Bitmap Brush:: GetBitmap() 68 BOOL Brush:: ChangeTransparent( BOOL bTransparent ) 68 BOOL Brush:: IsTransparent() const 69 BOOL Brush:: IsHatched() const 69 Brush& Brush:: operator =( const Brush& rBrush ) 70 BOOL Brush:: operator ==( const Brush& rBrush ) const 70 BOOL Brush:: operator !=( const Brush& rBrush ) const 71 Button : Control 73 virtual void Button:: Click() 74 Button:: Button( Window* pParent, WinBits nWinStyle = 0 ) 74 Button:: Button( Window* pParent, ResId& rResId ) 75 virtual Button:: ~Button() 75 Link Button:: ChangeClickHdl( const Link& rLink ) 75 Link Button:: GetClickHdl() const 76 CheckBox : Button 77 CheckBox:: CheckBox( Window* pParent, WinBits nWinStyle = 0 ) 77 CheckBox:: CheckBox( Window* pParent, ResId& rResId ) 78 void CheckBox:: Check( BOOL bCheck = TRUE ) 78 BOOL CheckBox:: IsChecked() const 79 Clipboard 81 virtual void Clipboard:: Request() 82 virtual void Clipboard:: Cleared() 83 Clipboard:: Clipboard() 84 Clipboard:: ~Clipboard() 84 static void Clipboard:: Clear() 84 static BOOL Clipboard:: CopyString( const String& rStr ) 84 static BOOL Clipboard:: CopyBitmap( const Bitmap& rBitmap ) 85 static BOOL Clipboard:: CopyData( const void* pData, ULONG nLen, ULONG nFormat ) 86 static BOOL Clipboard:: CopyRequest( ULONG nFormat ) 87 static ULONG Clipboard:: GetRequestFormat() 87 static ULONG Clipboard:: RegisterFormatName( const String& rName ) 88 static String Clipboard:: GetFormatName( ULONG nFormat ) 89 static USHORT Clipboard:: GetFormatCount() 89 static ULONG Clipboard:: GetFormat( USHORT nPos ) 90 static BOOL Clipboard:: HasFormat( ULONG nFormat ) 91 static String Clipboard:: PasteString() 92 static Bitmap Clipboard:: PasteBitmap() 92 static ULONG Clipboard:: GetDataLen( ULONG nFormat ) 93 static BOOL Clipboard:: PasteData( void* pBuf, ULONG nLen, ULONG nFormat ) 93 Link Clipboard:: ChangeRequestHdl( const Link& rLink ) 94 Link Clipboard:: GetRequestHdl() const 95 Link Clipboard:: ChangeClearedHdl( const Link& rLink ) 95 Link Clipboard:: GetClearedHdl() const 96 Color : Resource 97 Color:: Color() 100 Color:: Color( ColorName eColorName ) 100 Color:: Color( USHORT nRed, USHORT nGreen, USHORT nBlue ) 101 Color:: Color( ResId& rResId ) 101 virtual Color:: ~Color() 101 USHORT Color:: ChangeRed( USHORT nRed ) 102 USHORT Color:: GetRed() const 102 USHORT Color:: ChangeGreen( USHORT nGreen ) 102 USHORT Color:: GetGreen() const 103 USHORT Color:: ChangeBlue( USHORT nBlue ) 103 USHORT Color:: GetBlue() const 104 ColorName Color:: ChangeColorName( ColorName eColorName ) 104 ColorName Color:: GetColorName() const 105 BOOL Color:: operator ==( const Color& rColor ) const 105 BOOL Color:: operator !=( const Color& rColor ) const 106 ComboBox : ListBox 107 virtual void ComboBox:: Modify() 108 ComboBox:: ComboBox( Window* pParent, WinBits nWinStyle = 0 ) 108 ComboBox:: ComboBox( Window* pParent, ResId& rResId ) 109 USHORT ComboBox:: ChangeMaxTextLen( USHORT nMaxLen = EDIT_NOLIMIT ) 109 USHORT ComboBox:: GetMaxTextLen() const 110 BOOL ComboBox:: IsModified() const 110 BOOL ComboBox:: IsSetTextModified() const 111 Selection ComboBox:: ChangeSelection( const Selection& rSel ) 111 Selection ComboBox:: GetSelection() const 112 String ComboBox:: GetSelected() const 112 Link ComboBox:: ChangeModifyHdl( const Link& rLink ) 112 Link ComboBox:: GetModifyHdl() const 113 Config 115 Config:: Config() 116 Config:: Config( const String& rFileName ) 116 Config:: Config( const Config& rConfig ) 117 Config:: ~Config() 117 void Config:: SetGroup( const String& rGroup ) 117 String Config:: GetGroup() const 118 void Config:: DeleteGroup( const String& rGroup ) 118 void Config:: WriteKey( const String& rKey, const String& rValue ) 118 String Config:: ReadKey( const String& rKey ) const 119 String Config:: ReadKey( const String& rKey, const String& rDefault ) const 119 void Config:: DeleteKey( const String& rKey ) 120 Config& Config:: operator =( const Config& rConfig ) 120 BOOL Config:: operator ==( const Config& rConfig ) const 121 BOOL Config:: operator !=( const Config& rConfig ) const 121 Container 553 Container:: Container( USHORT nBlockSize, USHORT nInitSize, USHORT nReSize ) 555 Container:: Container( ULONG nSize ) 556 Container:: Container( const Container& rCont ) 557 virtual Container:: ~Container() 557 void Container:: Insert( void* p ) 557 void Container:: Insert( void* p, ULONG nPos ) 558 void Container:: Insert( void* pNew, void* pOld ) 558 void* Container:: Remove() 559 void* Container:: Remove( ULONG nPos ) 559 void* Container:: Remove( void* p ) 560 void* Container:: Replace( void* p ) 560 void* Container:: Replace( void* p, ULONG nPos ) 561 void* Container:: Replace( void* pNew, void* pOld ) 561 ULONG Container:: ChangeSize( ULONG nNewSize ) 562 ULONG Container:: GetSize() const 562 ULONG Container:: Count() const 563 void Container:: Clear() 563 void* Container:: GetCurObject() const 563 ULONG Container:: GetCurPos() const 564 void* Container:: GetObject( ULONG nPos ) const 564 ULONG Container:: GetPos( void* p ) const 564 void* Container:: Seek( ULONG nPos ) 565 void* Container:: Seek( void* p ) 565 void* Container:: First() 566 void* Container:: Last() 566 void* Container:: Next() 567 void* Container:: Prev() 567 Container& Container:: operator =( const Container& rCont ) 567 BOOL Container:: operator ==( const Container& rCont ) const 568 BOOL Container:: operator !=( const Container& rCont ) const 568 Control : Window 123 virtual void Control:: GetFocus() 126 virtual void Control:: LooseFocus() 126 Control:: Control( Window* pParent, WinBits nWinStyle = 0 ) 127 Control:: Control( Window* pParent, ResId& rResId ) 127 virtual Control:: ~Control() 128 void Control:: ShowFocus( const Rectangle& rRect ) 128 void Control:: HideFocus() 129 void Control:: DrawCtrlText( const Point& rPos, const String& rText, USHORT nIndex = 0, USHORT nLen = STRING_LEN ) 129 Size Control:: GetCtrlTextSize( const String& rStr, USHORT nIndex =0, USHORT nLen = STRING_LEN ) const 130 Link Control:: ChangeGetFocusHdl( const Link& rLink ) 130 Link Control:: GetGetFocusHdl() const 131 Link Control:: ChangeLooseFocusHdl( const Link& rLink ) 131 Link Control:: GetLooseFocusHdl() const 132 Cursor 133 Cursor:: Cursor() 134 Cursor:: Cursor( const Cursor& rCursor ) 134 Cursor:: ~Cursor() 134 void Cursor:: Show() 135 void Cursor:: Hide() 135 BOOL Cursor:: IsVisible() const 135 Point Cursor:: ChangePos( const Point& rPos ) 136 Point Cursor:: GetPos() const 136 Size Cursor:: ChangeSize( const Size& rSize ) 137 Size Cursor:: GetSize() const 137 short Cursor:: ChangeSlant( short nSlant = 0 ) 138 short Cursor:: GetSlant() const 138 Cursor& Cursor:: operator =( const Cursor& rCursor ) 139 BOOL Cursor:: operator ==( const Cursor& rCursor ) const 139 BOOL Cursor:: operator !=( const Cursor& rCursor ) const 140 DefPushButton : PushButton 141 DefPushButton:: DefPushButton( Window* pParent, WinBits nWinStyle = 0 ) 141 DefPushButton:: DefPushButton( Window* pParent, ResId& rResId ) 142 Dialog : SystemWindow 143 virtual Dialog:: ~Dialog() 144 DropDownComboBox : ComboBox 145 virtual void DropDownComboBox:: DropDown() 145 DropDownComboBox:: DropDownComboBox( Window* pParent, WinBits nWinStyle = 0) 146 DropDownComboBox:: DropDownComboBox( Window* pParent, ResId& rResId) 146 Link DropDownComboBox:: ChangeDropDownHdl( const Link& rLink) 147 Link DropDownComboBox:: GetDropDownHdl() const 148 DropDownListBox : ListBox 149 virtual void DropDownListBox:: DropDown() 150 DropDownListBox:: DropDownListBox( Window* pParent, WinBits nWinStyle = 0 ) 150 DropDownListBox:: DropDownListBox( Window* pParent, ResId& rResId ) 151 Link DropDownListBox:: ChangeDropDownHdl( const Link& rLink ) 151 Link DropDownListBox:: GetDropDownHdl() const 152 DynArray : Container 569 DECLARE_DYNARRAY( ClassName, Type ) 570 DynArray:: DynArray( ULONG nSize = 16 ) 571 DynArray:: DynArray( const DynArray& rAry ) 571 virtual DynArray:: ~DynArray() 572 void* DynArray:: Put( ULONG nPos, void* p ) 572 void* DynArray:: Get( ULONG nPos ) const 572 ULONG DynArray:: ChangeSize( ULONG nNewSize ) 573 ULONG DynArray:: GetSize() const 573 void DynArray:: Clear() 574 DynArray& DynArray:: operator =( const DynArray& rAry ) 574 BOOL DynArray:: operator ==( const DynArray& rAry ) const 575 BOOL DynArray:: operator !=( const DynArray& rAry ) const 575 Edit : Control 153 virtual void Edit:: Modify() 154 USHORT Edit:: ChangeMaxTextLen( USHORT nMaxLen = EDIT_NOLIMIT ) 155 USHORT Edit:: GetMaxTextLen() const 155 BOOL Edit:: IsModified() const 156 BOOL Edit:: IsSetTextModified() const 156 Selection Edit:: ChangeSelection( const Selection& rSel ) 157 Selection Edit:: GetSelection() const 157 void Edit:: ReplaceSelected( const String& rStr ) 158 void Edit:: DeleteSelected() 158 String Edit:: GetSelected() const 158 void Edit:: Cut() 159 void Edit:: Copy() 159 void Edit:: Paste() 159 Link Edit:: ChangeModifyHdl( const Link& rLink ) 160 Link Edit:: GetModifyHdl() const 160 ErrorBox : MessBox 161 ErrorBox:: ErrorBox( Window* pParent, WinBits nWinStyle, const String& rMessage ) 161 ErrorBox:: ErrorBox( Window* pParent, ResId& rResId ) 162 FixedBitmap : Control 165 FixedBitmap:: FixedBitmap(Window* pParent, WinBits nWinStyle = 0 ) 165 FixedBitmap:: FixedBitmap( Window* pParent, ResId& rResId ) 166 Bitmap FixedBitmap:: ChangeBitmap( const Bitmap& rBitmap ) 166 Bitmap FixedBitmap:: GetBitmap() const 166 FixedIcon : Control 169 FixedIcon:: FixedIcon( Window* pParent, WinBits nWinStyle = 0 ) 169 FixedIcon:: FixedIcon( Window* pParent, ResId& rResId ) 170 Icon FixedIcon:: ChangeIcon( const Icon& rIcon ) 170 Icon FixedIcon:: GetIcon() const 170 FixedText : Control 173 void FixedText:: FixedText( Window* pParent, WinBits nWinStyle = WB_LEFT ) 173 FixedText:: FixedText( Window* pParent, ResId& rResId ) 174 Font : Resource 175 Font:: Font() 179 Font:: Font( const Font& rFont ) 179 Font:: Font( const String& rName, const Size& rSize ) 180 Font:: Font( FontFamily eFamily, const Size& rSize ) 180 Font:: Font( ResId& rResId ) 181 virtual Font:: ~Font() 181 Color Font:: ChangeColor( const Color& rColor ) 181 Color Font:: GetColor() const 182 Color Font:: ChangeFillColor( const Color& rColor ) 182 Color Font:: GetFillColor() const 183 FontFamily Font:: ChangeFamily( FontFamily eFamily ) 183 FontFamily Font:: GetFamily() const 183 String Font:: ChangeName( const String& rName ) 184 String Font:: GetName() const 184 Size Font:: ChangeSize( const Size& rSize ) 185 Size Font:: GetSize() const 185 FontCharSet Font:: ChangeCharSet( FontCharSet eCharSet ) 186 FontCharSet Font:: GetCharSet() const 186 FontPitch Font:: ChangePitch( FontPitch ePitch ) 187 FontPitch Font:: GetPitch() const 187 FontAlign Font:: ChangeAlign( FontAlign eAlign ) 188 FontAlign Font:: GetAlign() const 188 short Font:: ChangeLineOrientation( short nLineOrient ) 189 short Font:: GetLineOrientation() const 189 short Font:: ChangeCharOrientation( short nCharOrient ) 189 short Font:: GetCharOrientation() const 190 FontWeight Font:: ChangeWeight( FontWeight eWeight ) 190 FontWeight Font:: GetWeight() const 191 BOOL Font:: ChangeItalic( BOOL bItalic ) 191 BOOL Font:: IsItalic() const 192 BOOL Font:: ChangeUnderline( BOOL bUnderline ) 192 BOOL Font:: IsUnderline() const 193 BOOL Font:: ChangeStrikeout( BOOL bStrikeout ) 193 BOOL Font:: IsStrikeout() const 194 BOOL Font:: ChangeOutline( BOOL bOutline ) 194 BOOL Font:: IsOutline() const 195 BOOL Font:: ChangeShadow( BOOL bShadow ) 196 BOOL Font:: IsShadow() const 196 BOOL Font:: ChangeTransparent( BOOL bTransparent ) 197 BOOL Font:: IsTransparent() const 197 Font& Font:: operator =( const Font& rFont ) 198 BOOL Font:: operator ==( const Font& rFont ) const 198 BOOL Font:: operator !=( const Font& rFont ) const 199 FontMetric 201 FontMetric:: FontMetric() 203 FontMetric:: FontMetric( const FontMetric& rMetric ) 203 FontMetric:: ~FontMetric() 204 Color FontMetric:: GetColor() const 204 Color FontMetric:: GetFillColor() const 204 FontFamily FontMetric:: GetFamily() const 205 String FontMetric:: GetName() const 205 String FontMetric:: GetSize() const 206 FontCharSet FontMetric:: GetCharSet() const 206 FontPitch FontMetric:: GetPitch() const 206 FontAlign FontMetric:: GetAlign() const 207 short FontMetric:: GetLineOrientation() const 207 short FontMetric:: GetCharOrientation() const 208 FontWeight FontMetric:: GetWeight() const 208 BOOL FontMetric:: IsItalic() const 209 BOOL FontMetric:: IsUnderline() const 209 BOOL FontMetric:: IsStrikeout() const 210 BOOL FontMetric:: IsOutline() const 210 BOOL FontMetric:: IsShadow() const 211 BOOL FontMetric:: IsTransparent() const 211 FontType FontMetric:: GetType() const 212 BOOL FontMetric:: IsDeviceFont() const 212 USHORT FontMetric:: GetAscent() const 213 USHORT FontMetric:: GetDescent() const 213 USHORT FontMetric:: GetLeading() const 213 BOOL FontMetric:: ExistChar( char c ) const 214 FontMetric& FontMetric:: operator =( const FontMetric& rMetric ) 214 BOOL FontMetric:: operator ==( const FontMetric& rMetric ) const 215 BOOL FontMetric:: operator !=( const FontMetric& rMetric ) const 215 Fraction 577 Fraction:: Fraction() 578 Fraction:: Fraction( short nNum, short nDen = 1 ) 578 Fraction:: Fraction( double dValue ) 578 BOOL Fraction:: IsValid() const 579 short Fraction:: GetNumerator() const 579 short Fraction:: GetDenominator() const 579 Fraction:: operator short() const 580 Fraction:: operator double() const 580 Fraction& Fraction:: operator +=( const Fraction& rVal ) 580 Fraction& Fraction:: operator -=( const Fraction& rVal ) 580 Fraction& Fraction:: operator *=( const Fraction& rVal ) 580 Fraction& Fraction:: operator /=( const Fraction& rVal ) 580 Fraction& Fraction:: operator =( const Fraction& rVal ) 581 friend Fraction operator +( const Fraction& rVal1, const Fraction& rVal2 ) 581 friend Fraction operator -( const Fraction& rVal1, const Fraction& rVal2 ) 581 friend Fraction operator *( const Fraction& rVal1, const Fraction& rVal2 ) 581 friend Fraction operator /( const Fraction& rVal1, const Fraction& rVal2) 581 friend BOOL operator <( const Fraction& rVal1, const Fraction& rVal2 ) 582 friend BOOL operator>( const Fraction& rVal1, const Fraction& rVal2 ) 582 friend BOOL operator ==( const Fraction& rVal1, const Fraction& rVal2 ) 582 friend BOOL operator<=( const Fraction& rVal1, const Fraction& rVal2 ) 582 friend BOOL operator>=( const Fraction& rVal1, const Fraction& rVal2 ) 582 GDIMetaFile : MetaFile 217 GDIMetaFile:: GDIMetaFile() 218 GDIMetaFile:: GDIMetaFile( const GDIMetaFile& rMtf ) 218 GDIMetaFile:: ~GDIMetaFile() 219 BOOL GDIMetaFile:: Record( OutputDevice* pOutDev ) 219 BOOL GDIMetaFile:: Play( OutputDevice* pOutDev ) 220 BOOL GDIMetaFile:: Play( OutputDevice* pOutDev, const String& rLabel ) 220 BOOL GDIMetaFile:: Play( GDIMetaFile& rMtf ) 221 BOOL GDIMetaFile:: Play( GDIMetaFile& rMtf, const String& rLabel ) 222 BOOL GDIMetaFile:: SaveStatus() 222 GDIMetaFile& GDIMetaFile:: operator =( const GDIMetaFile& rMtf ) 223 GroupBox : Control 225 GroupBox:: GroupBox( Window* pParent ) 225 GroupBox:: GroupBox( Window* pParent, ResId& rResId ) 226 Help 227 Help:: Help() 228 BOOL Help:: Start( ULONG nHelpId ) 228 BOOL Help:: Start( const String& rKeyWord ) 229 String Help:: SetHelpFile( const String& rName ) 230 String Help:: GetHelpFile() const 230 HelpEvent 231 HelpEvent:: HelpEvent() 232 HelpEvent:: HelpEvent(const Point& rMousePos, HelpMode eMode) 232 Point HelpEvent:: GetMousePosPixel() const 233 HelpMode HelpEvent:: GetMode() const 233 Icon : Resource 235 Icon:: Icon( IconStyle eStyle = ICON_DEFAULT ) 236 Icon:: Icon( const Icon& rIcon ) 237 Icon:: Icon( ResId& rResId ) 237 virtual Icon:: ~Icon() 237 Size Icon:: GetSizePixel() 238 Icon& Icon:: operator =( const Icon& rIcon ) 238 BOOL Icon:: operator ==( const Icon& rIcon ) const 238 BOOL Icon:: operator !=( const Icon& rIcon ) const 239 InfoBox : MessBox 241 InfoBox:: InfoBox( Window* pParent, const String& rMessage ) 241 InfoBox:: InfoBox( Window* pParent, ResId& rResId ) 242 KeyCode 243 KeyCode:: KeyCode() 245 KeyCode:: KeyCode( USHORT nKey, USHORT nModifier = 0 ) 245 KeyCode:: KeyCode( USHORT nKey, BOOL bShift, BOOL bMod1, BOOL bMod2 ) 245 USHORT KeyCode:: GetCode() const 246 USHORT KeyCode:: GetModifier() const 247 BOOL KeyCode:: IsShift() const 248 BOOL KeyCode:: IsMod1() const 248 BOOL KeyCode:: IsMod2() const 248 USHORT KeyCode:: GetGroup() const 249 BOOL KeyCode:: operator ==() const 249 BOOL KeyCode:: operator !=() const 250 KeyEvent 251 KeyEvent:: KeyEvent() 251 KeyEvent:: KeyEvent( char nCharCode, const KeyCode& rKeyCode, USHORT nRepeat = 0 ) 252 char KeyEvent:: GetCharCode() const 252 KeyCode KeyEvent:: GetKeyCode() const 253 USHORT KeyEvent:: GetRepeat() const 253 Link 583 Link:: Link() 585 Link:: Link( LinkHdl* pFuncOwner, PFUNC pProc ) 585 long Link:: Call( void* pCaller ) 586 BOOL Link:: IsSet() const 586 BOOL Link:: operator ==( const Link& rLink ) const 587 BOOL Link:: operator !=( const Link& rLink ) const 587 List : Container 589 DECLARE_LIST( ClassName, Type ) 590 List:: List( USHORT nInitSize = 16, USHORT nReSize = 16 ) 591 List:: List( USHORT nBlockSize, USHORT nInitSize, USHORT nReSize ) 592 List:: List( const List& rList ) 593 virtual List:: ~List() 593 void List:: Insert( void* p ) 593 void List:: Insert( void* p, ULONG nPos ) 594 void List:: Insert( void* pNew, void* pOld ) 594 void* List:: Remove() 595 void* List:: Remove( ULONG nPos ) 595 void* List:: Remove( void* p ) 596 void* List:: Replace( void* p ) 597 void* List:: Replace( void* p, ULONG nPos ) 597 void* List:: Replace( void* pNew, void* pOld ) 598 void List:: Clear() 598 ULONG List:: Count() const 598 void* List:: GetCurObject() const 599 ULONG List:: GetCurPos() const 599 void* List:: GetObject( ULONG nPos ) const 599 ULONG List:: GetPos( void* p ) const 600 void* List:: Seek( ULONG nPos ) 600 void* List:: Seek( void* p ) 601 void* List:: First() 601 void* List:: Last() 602 void* List:: Next() 602 void* List:: Prev() 603 List& List:: operator =( const List& rList ) 603 BOOL List:: operator ==( const List& rList ) const 604 BOOL List:: operator !=( const List& rList ) const 604 ListBox : Control 255 virtual void ListBox:: Select() 256 virtual void ListBox:: Highlight() 257 ListBox:: ListBox( Window* pParent, WinBits nWinStyle = WB_BORDER ) 257 ListBox:: ListBox( Window* pParent, ResId& rResId ) 258 void ListBox:: InsertEntry( const String& rString, USHORT nPos = LISTBOX_APPEND ) 259 void ListBox:: RemoveEntry( const String& rString ) 259 void ListBox:: RemoveEntry( USHORT nPos ) 260 void ListBox:: SetCurEntryPos( USHORT nPos ) 260 USHORT ListBox:: GetCurEntryPos() const 261 void ListBox:: SetCurEntry( const String& rString ) 261 String ListBox:: GetCurEntry() const 261 void ListBox:: SetNoCurEntry() 262 String ListBox:: GetEntry( USHORT nPos ) const 262 USHORT ListBox:: GetEntryPos( const String& rString ) const 263 USHORT ListBox:: GetCurEntryLen() const 263 USHORT ListBox:: GetEntryLen( USHORT nPos ) const 263 USHORT ListBox:: GetEntryCount() const 264 void ListBox:: Clear() 264 Link ListBox:: ChangeSelectHdl( const Link& rLink ) 264 Link ListBox:: GetSelectHdl() const 265 Link ListBox:: ChangeHighlightHdl( const Link& rLink ) 265 Link ListBox:: GetHighlightHdl() const 266 MapMode : Resource 267 MapMode:: MapMode() 269 MapMode:: MapMode( const MapMode& rMapMode ) 269 MapMode:: MapMode( MapUnit eUnit ) 270 MapMode:: MapMode( MapUnit eUnit, const Point& rLogicOrg, const Fraction& rScaleX, const Fraction& rScaleY) 270 MapMode:: MapMode( ResId& rResId ) 271 virtual MapMode:: ~MapMode() 271 MapUnit MapMode:: ChangeMapUnit( MapUnit eUnit ) 271 MapUnit MapMode:: GetMapUnit() const 272 Point MapMode:: ChangeOrigin( const Point& rLogicOrg ) 272 Point MapMode:: GetOrigin() const 273 Fraction MapMode:: ChangeScaleX( const Fraction& rScaleX ) 273 Fraction MapMode:: GetScaleX() const 274 Fraction MapMode:: ChangeScaleY( const Fraction& rScaleY ) 274 Fraction MapMode:: GetScaleY() const 275 MapMode& MapMode:: operator =( const MapMode& rMapMode ) 275 BOOL MapMode:: operator ==( const MapMode& rMapMode ) const 275 BOOL MapMode:: operator !=( const MapMode& rMapMode ) const 276 MDIApplication : Application 277 MDIApplication:: MDIApplication() 281 void MDIApplication:: Tile() 281 void MDIApplication:: Horizontal() 281 void MDIApplication:: Vertical() 282 void MDIApplication:: Cascade() 282 void MDIApplication:: Arrange() 282 BOOL MDIApplication:: CloseAll() 282 MDIWindow* MDIApplication:: ChangeActiveWindow( MDIWindow* pWindow ) 283 MDIWindow* MDIApplication:: ActivateNextWindow() 284 MDIWindow* MDIApplication:: GetActiveWindow() const 284 USHORT MDIApplication:: GetWindowCount() const 284 USHORT MDIApplication:: GetVisibleWindowCount() const 285 PopupMenu* MDIApplication:: ChangeMDIMenu( PopupMenu* pNewMenu ) 285 PopupMenu* MDIApplication:: GetMDIMenu() const 286 MDIWindow : WorkWindow 287 MDIWindow:: MDIWindow( WorkWindow* pParent, WinBits nWinStyle = WB_STDMDI ) 288 MDIWindow:: MDIWindow( WorkWindow* pParent, ResId& rResId ) 288 virtual MDIWindow:: ~MDIWindow() 289 BOOL MDIWindow:: IsMDIActivate() 289 Menu : Resource 291 virtual void Menu:: Activate() 295 virtual void Menu:: Highlight() 296 virtual void Menu:: Select() 296 virtual void Menu:: Deactivate() 297 virtual void Menu:: RequestHelp( const HelpEvent& rHEvt ) 297 virtual Menu:: ~Menu() 298 BOOL Menu:: InsertItem( ResId& rResId, USHORT nPos = MENU_APPEND ) 298 BOOL Menu:: InsertItem( USHORT nItemId, const String& rString, USHORT nPos = MENU_APPEND ) 299 BOOL Menu:: InsertItem( USHORT nItemId, const Bitmap& rBitmap, USHORT nPos = MENU_APPEND ) 300 void Menu:: InsertSeparator( USHORT nPos = MENU_APPEND ) 301 void Menu:: RemoveItem( USHORT nPos ) 302 USHORT Menu:: GetItemCount() const 302 USHORT Menu:: GetItemId( USHORT nPos ) const 303 USHORT Menu:: GetItemPos( USHORT nItemId ) const 303 USHORT Menu:: GetCurItemId() const 304 PopupMenu* Menu:: ChangePopupMenu( USHORT nItemId, PopupMenu* pPopupMenu ) 304 PopupMenu* Menu:: GetPopupMenu( USHORT nItemId ) const 305 void Menu:: CheckItem( USHORT nItemId, BOOL bCheck = TRUE ) 305 BOOL Menu:: IsItemChecked( USHORT nItemId ) const 306 void Menu:: EnableItem( USHORT nItemId, BOOL bEnable = TRUE ) 306 BOOL Menu:: IsItemEnabled( USHORT nItemId ) const 307 void Menu:: SetItemText( USHORT nItemId, const String& rString ) 307 String Menu:: GetItemText( USHORT nItemId ) const 308 USHORT Menu:: GetItemTextLen( USHORT nItemId ) const 308 void Menu:: SetItemBitmap( USHORT nItemId, const Bitmap& rBitmap ) 309 Bitmap Menu:: GetItemBitmap( USHORT nItemId ) const 309 void Menu:: SetHelpText( USHORT nItemId, const String& rString ) 309 String Menu:: GetHelpText( USHORT nItemId ) const 310 USHORT Menu:: GetHelpTextLen( USHORT nItemId ) const 310 ULONG Menu:: ChangeHelpId( USHORT nItemId, ULONG nHelpId ) 311 ULONG Menu:: GetHelpId( USHORT nItemId ) const 311 void Menu:: PushActivateHdl( const Link& rLink ) 312 Link Menu:: PopActivateHdl() 313 void Menu:: PushHighlightHdl( const Link& rLink ) 313 Link Menu:: PopHighlightHdl() 314 void Menu:: PushSelectHdl( const Link& rLink ) 314 Link Menu:: PopSelectHdl() 315 void Menu:: PushDeactivateHdl( const Link& rLink ) 315 Link Menu:: PopDeactivateHdl() 316 MenuBar : Menu 317 MenuBar:: MenuBar() 317 MenuBar:: MenuBar( ResId& rResId ) 318 MessBox : ModalDialog 319 MessBox:: MessBox( Window* pParent, WinBits nWinStyle, const String& rTitle, const String& rMessage ) 320 MessBox:: MessBox( Window* pParent, ResId& rResId ) 321 virtual MessBox:: ~MessBox() 322 short MessBox:: Execute() 322 MetaAction 605 MetaAction:: MetaAction() 605 MetaAction:: MetaAction( USHORT nType ) 606 virtual MetaAction:: ~MetaAction() 606 virtual void MetaAction:: Execute( void* pObj ) 606 USHORT MetaAction:: GetType() const 607 void MetaAction:: Duplicate() 607 void MetaAction:: Delete() 607 MetaFile 609 virtual void MetaFile:: Linker( void* pObj, BOOL bLink ) 612 virtual long MetaFile:: Hook() 612 MetaFile:: MetaFile() 613 MetaFile:: MetaFile( const MetaFile& rMtf ) 613 MetaFile:: ~MetaFile() 614 BOOL MetaFile:: AddAction( MetaAction* pAction ) 614 BOOL MetaFile:: Clear() 615 BOOL MetaFile:: Record( void* pObj ) 615 BOOL MetaFile:: IsRecord() const 616 BOOL MetaFile:: Pause( BOOL bPaused ) 616 BOOL MetaFile:: IsPause() const 617 BOOL MetaFile:: Stop() 617 BOOL MetaFile:: Play( void* pObj ) 618 BOOL MetaFile:: Play( void* pObj, const String& rToLabel ) 619 BOOL MetaFile:: Play( MetaFile& rMtf ) 620 BOOL MetaFile:: Play( MetaFile& rMtf, const String& rToLabel ) 620 BOOL MetaFile:: WindStart() 621 BOOL MetaFile:: WindEnd() 621 BOOL MetaFile:: Wind( const String& rToLabel ) 622 BOOL MetaFile:: WindPrev() 622 BOOL MetaFile:: WindNext() 623 BOOL MetaFile:: SetLabel( const String& rLabel ) 623 String MetaFile:: GetLabel( ULONG nLabel ) const 624 ULONG MetaFile:: GetLabelCount() const 624 String MetaFile:: GetCurLabel() const 625 ULONG MetaFile:: GetActionCount() const 625 ULONG MetaFile:: GetLabelActionCount( const String& rLabel ) const 625 const MetaAction* MetaFile:: GetCurAction() const 626 Link MetaFile:: ChangeHookHdl( const Link& rLink ) 626 Link MetaFile:: GetHookHdl() const 627 MetaFile& MetaFile:: operator =( const MetaFile& rMtf ) 627 ModalDialog : Dialog 323 ModalDialog:: ModalDialog( Window* pParent, ResId& rResId ) 327 virtual ModalDialog:: ~ModalDialog() 327 short ModalDialog:: Execute() 327 BOOL ModalDialog:: IsInExecute() const 328 void ModalDialog:: EndDialog( short nResult = 0 ) 329 ModelessDialog : Dialog 331 ModelessDialog:: ModelessDialog( Window* pParent, WinBits nWinStyle = WB_STDMODELESS ) 334 ModelessDialog:: ModelessDialog( Window* pParent, ResId& rResId ) 334 virtual ModelessDialog:: ~ModelessDialog() 335 MouseEvent 337 MouseEvent:: MouseEvent() 339 MouseEvent:: MouseEvent( const Point& rPos, USHORT nClicks =1, USHORT nMode = 0, USHORT nButtons = 0, USHORT nModifier = 0 ) 339 Point MouseEvent:: GetPosPixel() const 339 USHORT MouseEvent:: GetMode() const 340 USHORT MouseEvent:: GetClicks() const 340 USHORT MouseEvent:: GetButtons() const 341 BOOL MouseEvent:: IsLeft() const 342 BOOL MouseEvent:: IsMiddle() const 342 BOOL MouseEvent:: IsRight() const 343 USHORT MouseEvent:: GetModifier() const 343 BOOL MouseEvent:: IsShift() const 344 BOOL MouseEvent:: IsMod1() const 345 BOOL MouseEvent:: IsMod2() const 345 MultiLineEdit : Edit 347 MultiLineEdit:: MultiLineEdit( Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER) 348 MultiLineEdit:: MultiLineEdit( Window* pParent, ResId& rResId ) 348 OutputDevice : Resource 351 OutputDevice:: OutputDevice() 356 OutputDevice:: OutputDevice( ResId& rResId ) 356 virtual OutputDevice:: ~OutputDevice() 357 OutputDevice:: DrawText( const Point& rStartPt, const String& rStr, USHORT nPos =0,USHORT nLen =STRING_LEN) 357 Size OutputDevice:: GetTextSize( const String& rStr,USHORT nPos =0, USHORT nLen=STRING_LEN) const 358 void OutputDevice:: DrawKernText( const Point& rStartPt, const String& rStr, USHORT nPos = 0, USHORT nLen = STRING_LEN, short* pKernAry = 0 ) 359 Size OutputDevice:: GetKernTextSize( const String& rStr, USHORT nPos=0, USHORT nLen= STRING_LEN, short* pKernAry = 0 ) const 360 void OutputDevice:: DrawPixel( const Point& rPt,const Color& rColor) 361 Color OutputDevice:: GetPixel( const Point& rPt ) const 361 void OutputDevice:: DrawPoint( const Point& rPt ) 362 void OutputDevice:: DrawLine( const Point& rStartPt, const Point& rEndPt ) 362 void OutputDevice:: DrawRect( const Rectangle& rRect, USHORT nHorzRound = 0, USHORT nVertRound = 0) 363 void OutputDevice:: InvertRect( const Rectangle& rRect ) 363 void OutputDevice:: HighlightRect( const Rectangle& rRect ) 364 void OutputDevice:: DrawEllipse( const Rectangle& rRect ) 364 void OutputDevice:: DrawArc( const Rectangle& rRect, const Point& rStartPt, const Point& rEndPt ) 365 void OutputDevice:: DrawPie( const Rectangle& rRect, const Point& rStartPt, const Point& rEndPt ) 366 void OutputDevice:: DrawPolyLine( USHORT nPoints, Point aPtAry[] ) 367 void OutputDevice:: DrawPolygon( USHORT nPoints, Point aPtAry[] ) 367 void OutputDevice:: DrawOutDev( const Point& rDestPt, const Size& rDestSize, const Point& rSrcPt, const Size& rSrcSize, const OutputDevice& rSrcDev ) 368 void OutputDevice:: DrawBitmap( const Point& rDestPt, const Bitmap& rBitmap ) 369 void OutputDevice:: DrawBitmap( const Point& rDESTPt, const Size& rDestSize, const Bitmap& rBitmap ) 370 Bitmap OutputDevice:: GetBitmap( const Point& rSrcPt, const Size& rSize ) const 370 void OutputDevice:: DrawIcon(const Point& rDestPt,const Icon& rIcon) 371 Rectangle OutputDevice:: ChangeClipRect( const Rectangle& rRect ) 371 Rectangle OutputDevice:: ChangeClipRect() 372 Rectangle OutputDevice:: GetClipRect() const 372 BOOL OutputDevice:: IsClipRect() const 373 Pen OutputDevice:: ChangePen( const Pen& rNewPen ) 373 Pen OutputDevice:: GetPen() const 374 Font OutputDevice:: ChangeFont( const Font& rNewFont ) 374 Font OutputDevice:: GetFont() const 375 Brush OutputDevice:: ChangeBackgroundBrush( const Brush& rNewBrush ) 375 Brush OutputDevice:: GetBackgroundBrush() const 376 Brush OutputDevice:: ChangeFillInBrush( const Brush& rNewBrush ) 376 Brush OutputDevice:: GetFillInBrush() const 377 MapMode OutputDevice:: ChangeMapMode( const MapMode& rNewMapMod ) 377 MapMode OutputDevice:: GetMapMode() const 378 Point OutputDevice:: LogicToPixel( const Point& rLogicPoint, const MapMode& rMapMod ) const 378 Point OutputDevice:: LogicToPixel( const Point& rLogicPoint ) const 379 Size OutputDevice:: LogicToPixel( const Size& rLogicSize, const MapMode& rMapMod ) const 379 Size OutputDevice:: LogicToPixel( const Size& rLogicSize ) const 380 Rectangle OutputDevice:: LogicToPixel( const Rectangle& rLogicRect, const MapMode& rMapMod) const 380 Rectangle OutputDevice:: LogicToPixel( const Rectangle& rLogicRect ) const 381 Point OutputDevice:: PixelToLogic( const Point& rDevicePoint, const MapMode& rMapMod ) const 382 Point OutputDevice:: PixelToLogic( const Point& rDevicePoint ) const 382 Size OutputDevice:: PixelToLogic( const Size& rDeviceSize, const MapMode& rMapMod ) const 383 Size OutputDevice:: PixelToLogic( const Size& rDeviceSize ) const 383 Rectangle OutputDevice:: PixelToLogic( const Rectangle& rDeviceRect, const MapMode& rMapMod) const 384 Rectangle OutputDevice:: PixelToLogic( const Rectangle& rDeviceRect ) const 385 RasterOp OutputDevice:: ChangeRasterOp( RasterOp eROP ) 385 RasterOp OutputDevice:: GetRasterOp() const 386 Size OutputDevice:: GetOutputSize() const 386 virtual Size OutputDevice:: GetOutputSizePixel() const 387 USHORT OutputDevice:: GetDevFontCount() const 387 Font OutputDevice:: GetDevFont( USHORT nPos ) const 388 USHORT OutputDevice:: GetDevFontSizeCount( const Font& rFont ) const 388 Size OutputDevice:: GetDevFontSize( const Font& rFont, USHORT nPos) const 389 FontMetric OutputDevice:: GetFontMetric() const 390 FontMetric OutputDevice:: GetFontMetric( const Font& rFont ) const 390 void OutputDevice:: Push() 391 void OutputDevice:: Pop() 391 Pair 629 Pair:: Pair() 629 Pair:: Pair( short nA, short nB ) 630 short Pair:: A() const 630 short Pair:: B() const 630 short& Pair:: A() 631 short& Pair:: B() 631 BOOL Pair:: operator ==( const Pair& rPair ) const 631 BOOL Pair:: operator !=( const Pair& rPair ) const 632 Pen : Resource 393 Pen:: Pen() 395 Pen:: Pen( const Pen& rPen ) 395 Pen:: Pen( PenStyle eStyle ) 395 Pen:: Pen( const Color& rColor, USHORT nWidth = 0, PenStyle eStyle = PEN_SOLID ) 396 Pen:: Pen( ResId& rResId ) 396 virtual Pen:: ~Pen() 396 Color Pen:: ChangeColor( const Color& rColor ) 397 Color Pen:: GetColor() const 397 USHORT Pen:: ChangeWidth( USHORT nWidth ) 397 USHORT Pen:: GetWidth() const 398 PenStyle Pen:: ChangeStyle( PenStyle eStyle ) 398 PenStyle Pen:: GetStyle() const 399 Pen& Pen:: operator =( const Pen& rPen ) 399 BOOL Pen:: operator ==( const Pen& rPen ) const 399 BOOL Pen:: operator !=( const Pen& rPen ) const 400 PhysicalPrinter : Printer 401 PhysicalPrinter:: PhysicalPrinter() 401 virtual PhysicalPrinter:: ~PhysicalPrinter() 401 Point : Pair 633 Point:: Point() 634 Point:: Point( short nX, short nY ) 634 short Point:: X() const 634 short Point:: Y() const 635 short& Point:: X() 635 short& Point:: Y() 635 Point& Point:: operator +=( const Point& rPoint ) 636 Point& Point:: operator -=( const Point& rPoint ) 636 Point& Point:: operator *=( const short nVal ) 636 Point& Point:: operator /=( const short nVal ) 636 friend Point operator +( const Point& rPt1, const Point& rPt2 ) 636 friend Point operator -( const Point& rPt1, const Point& rPt2 ) 636 friend Point operator *( const Point& rPt, const short nVal ) 636 friend Point operator /( const Point& rPt, const short nVal ) 636 BOOL Point:: IsAbove( const Point& rPoint ) const 637 BOOL Point:: IsBelow( const Point& rPoint ) const 637 BOOL Point:: IsRight( const Point& rPoint ) const 637 BOOL Point:: IsLeft( const Point& rPoint ) const 637 Pointer : Resource 403 Pointer:: Pointer( PointerStyle eType = POINTER_ARROW ) 404 Pointer:: Pointer( const Pointer& rPointer ) 405 Pointer:: Pointer( ResId& rResId ) 405 virtual Pointer:: ~Pointer() 405 static void Pointer:: Show() 406 static void Pointer:: Hide() 406 static BOOL Pointer:: IsVisible() 406 static Point Pointer:: ChangePosPixel( const Point& rPos ) 407 static Point Pointer:: GetPosPixel() 407 Pointer& Pointer:: operator =( const Pointer& rPointer ) 407 BOOL Pointer:: operator ==( const Pointer& rPointer ) const 408 BOOL Pointer:: operator !=( const Pointer& rPointer ) const 408 PopupMenu : Menu 411 PopupMenu:: PopupMenu() 411 PopupMenu:: PopupMenu( ResId& rResId ) 411 void PopupMenu:: Execute( const Point& rPopupPos ) 412 Preview : Printer 413 virtual void Preview:: RequestPage() 414 Preview:: Preview( Window* pParent, WinBits nWinStyle = 0 ) 415 virtual Preview:: ~Preview() 415 USHORT Preview:: ChangeCurPage( USHORT nCurPage = 1 ) 416 USHORT Preview:: GetCurPage() const 416 Fraction Preview:: ChangeZoomFactor( const Fraction& rFactor ) 417 Fraction Preview:: GetZoomFactor() const 417 Point Preview:: ChangePageOffset( const Point& rOffset ) 418 Point Preview:: GetPageOffset() const 418 Size Preview:: CalcWindowSizePixel( const Size& rMaxSize, const Point& rPageOffset, const Fraction& rFactor ) const 419 USHORT Preview:: ChangePageCacheSize( USHORT nCacheSize = 1 ) 420 USHORT Preview:: GetPageCacheSize() const 420 Link Preview:: ChangeRequestPageHdl( const Link& rLink ) 421 Link Preview:: GetRequestPageHdl() const 421 Printer : OutputDevice 423 Printer:: Printer() 425 virtual Printer:: ~Printer() 426 String Printer:: GetDriverName() const 426 USHORT Printer:: Setup() 426 ModelessDialog* Printer:: ChangeDialog( ModelessDialog* pDialog ) 427 ModelessDialog* Printer:: GetDialog() const 428 USHORT Printer:: GetPageCount() const 428 USHORT Printer:: SetCopyCount( USHORT nCount ) 429 USHORT Printer:: GetCopyCount() const 430 USHORT Printer:: SetQuality( Quality eQuality ) 430 Quality Printer:: GetQuality() const 431 USHORT Printer:: SetOrientation( Orientation eOrient ) 431 Orientation Printer:: GetOrientation() const 432 Size Printer:: GetPaperSize() const 432 Priority Printer:: ChangePriority( Priority ePriority ) 432 Priority Printer:: GetPriority() const 433 Link Printer:: ChangeErrorHdl( const Link& rLink ) 433 Link Printer:: GetErrorHdl() const 434 USHORT Printer:: GetErrorCode() const 434 USHORT Printer:: StartJob( const String& rJobName ) 434 USHORT Printer:: EndJob() 435 USHORT Printer:: AbortJob() 436 USHORT Printer:: NewPage() 436 Link Printer:: ChangeEndBusyHdl( const Link& rLink ) 437 Link Printer:: GetEndBusyHdl() const 437 BOOL Printer:: IsBusy() const 438 PushButton : Button 439 PushButton:: PushButton( Window* pParent, WinBits nWinStyle = 0 ) 439 PushButton:: PushButton( Window* pParent, ResId& rResId ) 440 QueryBox : MessBox 441 QueryBox:: QueryBox( Window* pParent, WinBits nWinStyle, const String& rMessage ) 441 QueryBox:: QueryBox( Window* pParent, ResId& rResId ) 442 Queue : Container 639 DECLARE_QUEUE( ClassName, Type ) 640 Queue:: Queue( USHORT nInitSize = 16, USHORT nReSize = 16 ) 641 Queue:: Queue( const Queue& rQueue ) 641 virtual Queue:: ~Queue() 642 void Queue:: Put( void* p ) 642 void* Queue:: Get() 642 void Queue:: Clear() 643 ULONG Queue:: Count() const 643 void* Queue:: GetObject( ULONG nPos ) const 643 ULONG Queue:: GetPos( void* p ) const 644 Queue& Queue:: operator =( const Queue& rQueue ) 644 BOOL Queue:: operator ==( const Queue& rQueue ) const 645 BOOL Queue:: operator !=( const Queue& rQueue ) const 645 RadioButton : Button 443 RadioButton:: RadioButton( Window* pParent, WinBits nWinStyle = 0 ) 444 RadioButton:: RadioButton( Window* pParent, ResId& rResId ) 444 void RadioButton:: Check( BOOL bCheck = TRUE ) 445 BOOL RadioButton:: IsChecked() const 445 Range : Pair 647 Range:: Range() 647 Range:: Range( short nMin, short nMax ) 648 short Range:: Min() const 648 short Range:: Max() const 648 short Range:: Len() const 649 short& Range:: Min() 649 short& Range:: Max() 650 BOOL Range:: IsInside( short nIs ) const 650 void Range:: Justify() 651 Rectangle 653 Rectangle:: Rectangle() 655 Rectangle:: Rectangle(const Point rLeftTop,const Point rRightBottom) 655 Rectangle:: Rectangle( short nLeft, short nTop, short nRight, short nBottom ) 655 Rectangle:: Rectangle( const Point& rLeftTop, const Size& rSize ) 656 Point Rectangle:: TopLeft() const 656 Point Rectangle:: TopRight() const 657 Point Rectangle:: TopCenter() const 657 Point Rectangle:: BottomLeft() const 657 Point Rectangle:: BottomRight() const 658 Point Rectangle:: BottomCenter() const 658 Point Rectangle:: LeftCenter() const 659 Point Rectangle:: RightCenter() const 659 Point Rectangle:: Center() const 659 Size Rectangle:: GetSize() const 660 Size Rectangle:: ChangeSize( const Size& rSize) 660 Point Rectangle:: ChangePos( const Point& rPoint) 661 short Rectangle:: Left() const 661 short Rectangle:: Right() const 661 short Rectangle:: Top() const 662 short Rectangle:: Bottom() const 662 short& Rectangle:: Left() 663 short& Rectangle:: Right() 663 short& Rectangle:: Top() 663 short& Rectangle:: Bottom() 664 Rectangle Rectangle:: GetUnion( const Rectangle& rRect ) const 664 Rectangle Rectangle:: GetIntersection( const Rectangle& rRect) const 665 void Rectangle:: Justify() 665 BOOL Rectangle:: IsInside( const Point& rPoint ) const 666 BOOL Rectangle:: IsInside( const Rectangle& rRect ) const 666 BOOL Rectangle:: IsOver( const Rectangle& rRect ) const 667 BOOL Rectangle:: operator ==( const Rectangle& rRect ) const 668 BOOL Rectangle:: operator !=( const Rectangle& rRect ) const 668 ResId 447 ResId:: ResId( USHORT nId ) 449 ResId:: ~ResId() 449 ResId& ResId:: Lock() 449 void ResId:: Unlock() 450 ResMgr 451 ResMgr:: ResMgr( char* pFileName = ( char* )0 ) 451 ResMgr:: ~ResMgr() 452 Resource 453 Resource:: Resource( ResId& rResId ) 456 virtual Resource:: ~Resource() 456 void* Resource:: GetClassRes() 457 USHORT Resource:: GetStringSizeRes( char* ) 457 USHORT Resource:: GetRemainSizeRes() 458 void* Resource:: IncrementRes( USHORT nBytes ) 458 static void Resource:: SetResManager( ResMgr* pResMgr ) 459 static ResMgr* Resource:: GetResManager() 459 ScrollBar : Control 461 virtual void ScrollBar:: LineMove() 462 virtual void ScrollBar:: PageMove() 463 virtual void ScrollBar:: ThumbDrag() 464 virtual void ScrollBar:: EndScroll() 464 ScrollBar:: ScrollBar( Window* pParent, WinBits nWinStyle = WB_VSCROLL ) 465 ScrollBar:: ScrollBar( Window* pParent, ResId& rResId ) 465 short ScrollBar:: ChangeThumbPos( short nThumbPos ) 466 short ScrollBar:: GetThumbPos() const 466 short ScrollBar:: ChangeLineSize( short nSize ) 467 short ScrollBar:: GetLineSize() const 467 short ScrollBar:: ChangePageSize( short nSize ) 467 short ScrollBar:: GetPageSize() const 468 Range ScrollBar:: ChangeRange( const Range& rRange ) 468 Range ScrollBar:: GetRange() const 469 short ScrollBar:: GetDelta() const 469 short ScrollBar:: GetDeltaSum() const 470 Link ScrollBar:: ChangeLineMoveHdl( const Link& rLink ) 470 Link ScrollBar:: GetLineMoveHdl() const 471 Link ScrollBar:: ChangePageMoveHdl( const Link& rLink ) 471 Link ScrollBar:: GetPageMoveHdl() const 472 Link ScrollBar:: ChangeThumbDragHdl( const Link& rLink ) 472 Link ScrollBar:: GetThumbDragHdl() const 473 Link ScrollBar:: ChangeEndScrollHdl( const Link& rLink ) 473 Link ScrollBar:: GetEndScrollHdl() const 474 Selection : Pair 671 Selection:: Selection() 671 Selection:: Selection( short nPos ) 672 Selection:: Selection( short nMin, short nMax ) 672 short Selection:: Min() const 672 short Selection:: Max() const 673 short Selection:: Len() const 673 short& Selection:: Min() 673 short& Selection:: Max() 674 BOOL Selection:: IsInside( short nIs ) const 674 void Selection:: Justify() 675 BOOL Selection:: operator !() const 675 SingleLineEdit : Edit 475 SingleLineEdit:: SingleLineEdit( Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER ) 475 SingleLineEdit:: SingleLineEdit( Window* pParent, ResId& rResId ) 476 Size : Pair 677 Size:: Size() 677 Size:: Size( short nWidth, short nHeight ) 678 short Size:: Width() const 678 short Size:: Height() const 678 short& Size:: Width() 679 short& Size:: Height() 679 Sound 477 static void Sound:: Beep() 477 Stack : Container 681 DECLARE_STACK( ClassName, Type ) 682 Stack:: Stack( USHORT nInitSize = 16, USHORT nReSize = 16 ) 683 Stack:: Stack( const Stack& rStack ) 683 virtual Stack:: ~Stack() 684 void Stack:: Push( void* p ) 684 void* Stack:: Pop() 684 void* Stack:: Top() const 685 void Stack:: Clear() 685 ULONG Stack:: Count() const 685 void* Stack:: GetObject( ULONG nPos ) const 686 ULONG Stack:: GetPos( void* p ) const 686 Stack& Stack:: operator =( const Stack& rStack ) 687 BOOL Stack:: operator ==( const Stack& rStack ) const 687 BOOL Stack:: operator !=( const Stack& rStack ) const 687 String 689 String:: String() 693 String:: String( const String& rStr ) 693 String:: String( const String& rStr, USHORT nPos, USHORT nLen ) 693 String:: String( const char* pCharStr ) 694 String:: String( const char* pCharStr, USHORT nLen ) 694 String:: String( char c ) 695 String:: String( int n ) 696 String:: String( unsigned int n ) 696 String:: String( short n ) 697 String:: String( USHORT n ) 697 String:: String( long n ) 698 String:: String( ULONG n ) 698 String:: ~String() 699 String:: operator const char*() const 699 String:: operator char() const 700 String:: operator int() const 700 String:: operator unsigned int() const 701 String:: operator short() const 702 String:: operator USHORT() const 702 String:: operator long() const 703 String:: operator ULONG() const 704 String& String:: operator =( const String& rStr ) 704 String& String:: operator =( const char* pCharStr ) 705 String& String:: operator +=( const String& rStr ) 705 String& String:: operator +=( const char* pCharStr ) 706 String& String:: operator +=( char c ) 706 String& String:: operator +=( int n ) 707 String& String:: operator +=( unsigned int n ) 708 String& String:: operator +=( short n ) 708 String& String:: operator +=( USHORT n ) 709 String& String:: operator +=( long n ) 709 String& String:: operator +=( ULONG n ) 710 BOOL String:: operator !() const 711 char String:: operator []( USHORT nPos ) const 711 char& String:: operator []( USHORT nPos ) 712 USHORT String:: Len() const 713 String& String:: Insert(const String& rStr,USHORT nPos=STRING_LEN) 713 String& String:: Insert( const String& rStr,USHORT nSourcePos, USHORT nLen, USHORT nDestPos = STRING_LEN ) 714 String& String:: Insert( const char* pCharStr, USHORT nPos = STRING_LEN 715 String& String:: Insert( char c, USHORT nPos = STRING_LEN ) 716 String& String:: Insert( int n, USHORT nPos = STRING_LEN ) 717 String& String:: Insert( unsigned int n,USHORT nPos = STRING_LEN) 717 String& String:: Insert( short n, USHORT nPos = STRING_LEN ) 718 String& String:: Insert( USHORT n, USHORT nPos = STRING_LEN ) 719 String& String:: Insert( long n, USHORT nPos = STRING_LEN ) 720 String& String:: Insert( ULONG n, USHORT nPos = STRING_LEN ) 721 String& String:: Replace( const String& rStr, USHORT nPos = 0 ) 721 String& String:: Erase(USHORT nPos = 0,USHORT nCount = STRING_LEN) 722 String& String:: Cut( USHORT nPos = 0,USHORT nCount = STRING_LEN) 723 String String:: Copy( USHORT nPos = 0, USHORT nCount = STRING_LEN ) const 724 String& String:: Fill( USHORT nCount, char cFillChar = ' ' ) 725 String& String:: Expand( USHORT nCount, char cExpandChar= ' ') 725 String String:: Upper() const 726 String String:: Lower() const 727 String& String:: ToUpper() 727 String& String:: ToLower() 728 String& String:: SpaceToZero() 729 String& String:: ZeroToSpace() 729 USHORT String:: Match( const String& rStr ) const 730 USHORT String:: Match( const char* pCharStr ) const 731 USHORT String:: Search( const String& rStr, USHORT nPos = 0) const 731 USHORT String:: Search(const char* pCharStr, USHORT nPos=0) const 732 BOOL String:: IsAlpha() const 733 BOOL String:: IsNumeric() const 734 BOOL String:: IsAlphaNumeric() const 734 BOOL String:: IsUpper() const 735 BOOL String:: IsLower() const 736 char* String:: AllocStrBuf( USHORT nLen ) 737 const char* String:: StrGet() const 738 friend String operator +( const String& rStr1,const String& rStr2 ) 738 friend String operator +( const String& rStr,const char* pCharStr ) 739 friend String operator +( const char* pCharStr,const String& rStr ) 740 friend BOOL operator ==( const String& rStr1, const String& rStr2 ) 741 friend BOOL operator ==( const String& rStr, const char* pCharStr ) 741 friend BOOL operator ==( const char* pCharStr, const String& rStr ) 741 friend BOOL operator !=( const String& rStr1, const String& rStr2 ) 741 friend BOOL operator !=( const String& rStr, const char* pCharStr ) 741 friend BOOL operator !=( const char* pCharStr, const String& rStr ) 741 friend BOOL operator <( const String& rStr1,' const String& rStr2 ) 741 friend BOOL operator <( const String& rStr, const char* pCharStr ) 741 friend BOOL operator <( const char* pCharStr, const String& rStr ) 741 friend BOOL operator >( const String& rStr1, const String& rStr2 ) 741 friend BOOL operator >( const String& rStr, const char* pCharStr ) 741 friend BOOL operator >( const char* pCharStr, const String& rStr ) 741 friend BOOL operator <=( const String& rStr1, const String& rStr2 ) 741 friend BOOL operator <=( const String& rStr, const char* pCharStr ) 741 friend BOOL operator <=( const char* pCharStr, const String& rStr ) 741 friend BOOL operator >=( const String& rStr1, const String& rStr2 ) 741 friend BOOL operator >=( const String& rStr, const char* pCharStr ) 741 friend BOOL operator >=( const char* pCharStr, const String& rStr ) 741 Sysdepen fr Windows 767 static HDC Sysdepen:: GethDC( const OutputDevice& rOutDev ) 768 static HWND Sysdepen:: GethWnd( const Window& rWindow ) 769 static HMENU Sysdepen:: GethMenu( const Menu& rMenu ) 770 static HBITMAP Sysdepen:: GethBitmap( const Bitmap& rBitmap ) 771 static HICON Sysdepen:: GethIcon( const Icon& rIcon ) 771 static HCURSOR Sysdepen:: GethCursor( const Pointer& rPtr ) 772 static void Sysdepen:: SethBitmap( Bitmap& rBitmap, HBITMAP hBitmap) 773 static void Sysdepen:: SethIcon( Icon& rIcon, HICON hIcon, BOOL bDestroy = FALSE ) 774 static void Sysdepen:: SethCursor( Pointer& rPointer HCURSOR hCursor, BOOL bDestroy = FALSE ) 775 static HANDLE Sysdepen:: GethInst() 776 static HANDLE Sysdepen:: GethPrevInst() 776 static HWND Sysdepen:: GethMDIClient() 777 static SVHOOK Sysdepen:: ChangeHook( SVHOOK pHook = NULL ) 779 static SVHOOK Sysdepen:: GetHook() 780 Sysdepen fr Macintosh 783 static MenuHandle Sysdepen:: GetMenuHandle( const PopupMenu& rMenu ) 784 static WindowPtr Sysdepen:: GetWindowPtr( const Window& rWindow ) 785 static TPPrPort Sysdepen:: GetPrPortPtr( const Printer& rPrinter ) 785 SysMessBox : MessBox 479 SysMessBox:: SysMessBox( Window* pParent, WinBits nWinStyle, const String& rMessage ) 479 SysMessBox:: SysMessBox( Window* pParent, ResId& rResId ) 480 System 483 System:: System() 485 System:: ~System() 485 static SystemType System:: GetSystemType() 486 static CPUType System:: GetCPUType() 486 static GUIType System:: GetGUIType() 487 static String System:: GetGUIVersion() 487 static Size System:: GetScreenSizePixel() 487 static USHORT System:: GetMenuBarHeightPixel() 488 static BOOL System:: HasMouse() 488 static USHORT System:: GetMouseButtonCount() 488 static Font System:: GetSystemFont() 489 SystemWindow : Window 491 virtual void SystemWindow:: Activate() 492 virtual void SystemWindow:: Deactivate() 492 virtual SystemWindow:: ~SystemWindow() 492 virtual BOOL SystemWindow:: Close() 493 Size SystemWindow:: ChangeOutputSizePixel( const Size& rNewSize ) 494 BOOL SystemWindow:: IsActive() const 494 Table : Container 743 DECLARE_TABLE( ClassName, Type ) 744 Table:: Table( USHORT nInitSize = 16, USHORT nReSize = 16 ) 745 Table:: Table( const Table& rTable ) 746 virtual Table:: ~Table() 746 BOOL Table:: Insert( ULONG nKey, void* p ) 746 void* Table:: Remove( ULONG nKey ) 747 void* Table:: Replace( ULONG nKey, void* p ) 747 void* Table:: Get( ULONG nKey ) const 748 void Table:: Clear() 748 ULONG Table:: Count() const 748 void* Table:: GetCurObject() const 749 ULONG Table:: GetCurKey() const 749 ULONG Table:: GetKey( void* p ) const 750 BOOL Table:: IsKeyValid( ULONG nKey ) const 750 void* Table:: Seek( ULONG nKey ) 751 void* Table:: Seek( void* p ) 751 void* Table:: First() 752 void* Table:: Last() 752 void* Table:: Next() 753 void* Table:: Prev() 753 Table& Table:: operator =( const Table& rTable ) 754 BOOL Table:: operator ==( const Table& rTable ) const 754 BOOL Table:: operator !=( const Table& rTable ) const 754 Timer 497 virtual void Timer:: Timeout() 498 Timer:: Timer() 499 virtual Timer:: ~Timer() 499 ULONG Timer:: ChangeTimeout( ULONG nTimeout ) 500 ULONG Timer:: GetTimeout() const 500 BOOL Timer:: IsActive() const 500 Link Timer:: ChangeTimeoutHdl( const Link& rLink ) 501 Link Timer:: GetTimeoutHdl() const 501 void Timer:: Start() 502 void Timer:: Stop() 502 TriStateBox : Button 503 TriStateBox:: TriStateBox(Window* pParent, WinBits nWinStyle = 0 ) 504 TriStateBox:: TriStateBox( Window* pParent, ResId& rResId ) 504 TriState TriStateBox:: ChangeState( TriState eState ) 505 TriState TriStateBox:: GetState() const 505 void TriStateBox:: EnableTriState( BOOL bTriState = TRUE ) 506 BOOL TriStateBox:: IsTriStateEnabled() 506 UniqueIndex : Container 755 DECLARE_UNIQUEINDEX( ClassName, Type ) 756 UniqueIndex:: UniqueIndex( ULONG nStartIndex = 0, ULONG nInitSize = 16, ULONG nReSize = 16) 757 UniqueIndex:: UniqueIndex( const UniqueIndex& rIdx ) 758 virtual UniqueIndex:: ~UniqueIndex() 758 ULONG UniqueIndex:: Insert( void* p ) 758 void* UniqueIndex:: Remove( ULONG nIndex ) 759 void* UniqueIndex:: Replace( ULONG nIndex, void* p ) 759 void* UniqueIndex:: Get( ULONG nIndex ) const 760 void UniqueIndex:: Clear() 760 ULONG UniqueIndex:: Count() const 761 void* UniqueIndex:: GetCurObject() const 761 ULONG UniqueIndex:: GetCurIndex() const 761 ULONG UniqueIndex:: GetIndex( void* p ) const 762 BOOL UniqueIndex:: IsIndexValid( ULONG nIndex ) const 762 void* UniqueIndex:: Seek( ULONG nIndex ) 763 void* UniqueIndex:: Seek( void* p ) 763 void* UniqueIndex:: First() 764 void* UniqueIndex:: Last() 764 void* UniqueIndex:: Next() 765 void* UniqueIndex:: Prev() 765 UniqueIndex& UniqueIndex:: operator =( const UniqueIndex& rIdx ) 766 BOOL UniqueIndex:: operator ==( const UniqueIndex& rIdx ) const 766 BOOL UniqueIndex:: operator !=( const UniqueIndex& rIdx ) const 766 VirtualDevice : OutputDevice 507 VirtualDevice:: VirtualDevice( const OutputDevice& rCompDev ) 508 virtual VirtualDevice:: ~VirtualDevice() 508 BOOL VirtualDevice:: SetOutputSize( const Size& rSize, BOOL bErase = TRUE ) 509 BOOL VirtualDevice:: SetOutputSizePixel( const Size& rSize, BOOL bErase =TRUE) 510 WarningBox : MessBox 511 WarningBox:: WarningBox( Window* pParent, WinBits nWinStyle, const String& rMessage ) 511 WarningBox:: WarningBox( Window* pParent, ResId& rResId ) 512 Window : OutputDevice 515 virtual void Window:: MouseMove( const MouseEvent& rMEvt ) 517 virtual void Window:: MouseButtonDown( const MouseEvent& rMEvt ) 518 virtual void Window:: MouseButtonUp( const MouseEvent& rMEvt) 519 virtual void Window:: KeyInput( const KeyEvent& rKEvt ) 519 virtual void Window:: Resize() 520 virtual void Window:: Move() 520 virtual void Window:: GetFocus() 521 virtual void Window:: LooseFocus() 521 virtual void Window:: Paint( const Rectangle& rRect ) 521 virtual void Window:: RequestHelp( const HelpEvent& rHEvt ) 522 Window:: Window( Window* pParent, WinBits nWinStyle = 0 ) 523 Window:: Window( Window* pParent, ResId& rResId ) 523 virtual Window:: ~Window() 524 Window* Window:: ChangeParent( Window* pNewParent ) 524 Window* Window:: GetParent() const 524 void Window:: Show() 525 void Window:: Hide() 525 BOOL Window:: IsVisible() const 526 void Window:: Enable() 526 void Window:: Disable() 526 BOOL Window:: IsEnabled() const 527 Point Window:: ChangePosPixel( const Point& rNewPos ) 527 Point Window:: GetPosPixel() const 528 Size Window:: ChangeSizePixel( const Size& rNewSize ) 528 Size Window:: GetSizePixel() const 529 void Window:: SetPosSizePixel( const Point& rNewPos, const Size& rNewSize ) 529 void Window:: ToTop() 530 void Window:: CaptureMouse() 530 void Window:: ReleaseMouse() 530 void Window:: GrabFocus() 531 BOOL Window:: HasFocus() const 531 void Window:: Scroll( short nHorzScroll, short nVertScroll ) 531 void Window:: Scroll( short nHorzScroll, short nVertScroll, const Rectangle& rRect ) 532 void Window:: Invalidate() 534 void Window:: Invalidate( const Rectangle& rRect ) 534 void Window:: InvalidateForeground() 535 void Window:: InvalidateForeground( const Rectangle& rRect ) 535 void Window:: Update() 536 BOOL Window:: ChangeUpdateMode( BOOL bUpdate ) 536 BOOL Window:: GetUpdateMode() const 537 Point Window:: OutputToScreenPixel( const Point& rPt ) const 537 Point Window:: ScreenToOutputPixel( const Point& rPt ) const 538 void Window:: Flash() 538 void Window:: SetText( const String& rString ) 539 String Window:: GetText() const 539 USHORT Window:: GetTextLen() const 539 Pointer Window:: ChangePointer( const Pointer& rPointer ) 540 Pointer Window:: GetPointer() const 540 Cursor* Window:: ChangeCursor( const Cursor* pCursor ) 541 Cursor* Window:: GetCursor() const 541 void Window:: SetHelpText( const String& rString ) 542 String Window:: GetHelpText() const 542 USHORT Window:: GetHelpTextLen() const 542 ULONG Window:: ChangeHelpId( ULONG nHelpId ) 543 ULONG Window:: GetHelpId() const 543 WorkWindow : SystemWindow 545 WorkWindow:: WorkWindow( Window* pParent, WinBits nWinStyle = WB_STDWORK ) 545 WorkWindow:: WorkWindow( Window* pParent, ResId& rResId ) 547 virtual WorkWindow:: ~WorkWindow() 547 void WorkWindow:: Maximize() 548 void WorkWindow:: Minimize() 548 void WorkWindow:: Restore() 549 BOOL WorkWindow:: IsMaximized() const 549 BOOL WorkWindow:: IsMinimized() const 550 Icon WorkWindow:: ChangeIcon( const Icon& rNewIcon ) 550 Icon WorkWindow:: GetIcon() const 551 3 Konstanten 3.1. WinBits #define WB_APP #define WB_BORDER #define WB_CENTER #define WB_CLIPCHILDREN #define WB_CLOSEABLE #define WB_DEF_CANCEL #define WB_DEF_NO #define WB_DEF_OK #define WB_DEF_RETRY #define WB_DEF_YES #define WB_GROUP #define WB_HSCROLL #define WB_LEFT #define WB_MAXABLE #define WB_MINABLE #define WB_MINMAX #define WB_MOVEABLE #define WB_OK #define WB_OK_CANCEL #define WB_RETRY_CANCEL #define WB_RIGHT #define WB_SIZEABLE #define WB_SIZEMOVE #define WB_SORT #define WB_STDMDI #define WB_STDMODAL #define WB_STDMODELESS #define WB_STDWORK #define WB_SYSMODAL #define WB_TABSTOP #define WB_VSCROLL #define WB_YES_NO #define WB_YES_NO_CANCEL 3.2 Maus- und Tastatur-Konstanten Mausmodi im MouseMove-Handler: MOUSE_MOVE Normale Mausbewegung. MOUSE_SIMPLEDRAG Mausbewegung mit Selektierung. MOUSE_EXTDRAG Mausbewegung mit erweiterter Selektierung. Mausmodi im MouseButtonDown/Up-Handler: MOUSE_SIMPLE Normale Selektion. MOUSE_EXT Selektion aufheben oder erweiterte Selektion. MOUSE_MULTI Mehrfachselektion. Maustasten MOUSE_LEFT Linke Maustaste. MOUSE_MIDDLE Mittlere Maustaste. MOUSE_RIGHT Rechte Maustaste. Basistastencodes KEY_0 ... KEY_9 Die Zahlentasten. KEY_A ... KEY_Z Die Buchstabentasten ohne Umlaute. KEY_F1 ... KEY_F24 Die Funktionstasten. KEY_UP Cursor nach oben. KEY_DOWN Cursor nach unten. KEY_LEFT Cursor nach links. KEY_RIGHT Cursor nach rechts. KEY_HOME Cursor an den Zeilenanfang. KEY_END Cursor an das Zeilenende. KEY_PAGEUP Cursor eine Seite nach oben. KEY_PAGEDOWN Cursor eine Seite nach unten. KEY_RETURN Die Eingabe-Taste (CR und Enter). KEY_ESCAPE Die Escape-Taste. KEY_TAB Die Tabulator-Taste. KEY_BACKSPACE Die Backspace-Taste. KEY_SPACE Die Leertaste. KEY_INSERT Die Einfge-Taste. KEY_DELETE Die Delete-Taste. Modifier-Tasten KEY_SHIFT Die Shift-Taste. KEY_MOD1 Die Control-Taste (Command-Taste beim Macintosh). KEY_MOD2 Die Alt-Taste (Option-Taste beim Macintosh). Key-Gruppen KEYGROUP_NUM KEY_0 ... KEY_9. KEYGROUP_ALPHA KEY_A ... KEY_Z. KEYGROUP_FKEYS KEY_F1 ... KEY_F24. KEYGROUP_CURSOR KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_HOME, KEY_END, KEY_PAGEUP, KEY_PAGEDOWN. KEYGROUP_MISC KEY_RETURN, KEY_ESCAPE, KEY_TAB, KEY_BACKSPACE, KEY_SPACE, KEY_INSERT, KEY_DELETE. 4 Aufz„hlungstypen enum BrushStyle { BRUSH_NULL, BRUSH_SOLID, BRUSH_HORZ, BRUSH_VERT, BRUSH_CROSS, BRUSH_DIAGCROSS, BRUSH_UPDIAG, BRUSH_DOWNDIAG, BRUSH_25, BRUSH_50, BRUSH_75, BRUSH_BITMAP } 60 enum ColorName { COL_BLACK, COL_BLUE, COL_GREEN, COL_CYAN, COL_RED, COL_MAGENTA, COL_BROWN, COL_GRAY, COL_LIGHTGRAY, COL_LIGHTBLUE, COL_LIGHTGREEN, COL_LIGHTCYAN, COL_LIGHTRED, COL_LIGHTMAGENTA, COL_YELLOW, COLOR_WHITE, COL_MENUBAR, COL_MENUBARTEXT, COL_POPUPMENU, COL_POPUPMENUTEXT, COL_WINDOWTEXT, COL_WINDOWWORKSPACE, COL_HIGHLIGHT, COL_HIGHLIGHTTEXT, COL_3DTEXT, COL_3DFACE, COL_3DLIGHT, COL_3DSHADOW, COL_USER } 98 enum CPUType { CPU_DONTKNOW, CPU_I286, CPU_I386, CPU_I486, CPU_M68000, CPU_M68010, CPU_M68020, CPU_M68030, CPU_M68040, CPU_SPARC } 484 enum FontAlign { ALIGN_TOP, ALIGN_BASELINE, ALIGN_BOTTOM } 179 enum FontCharSet { CHARSET_DONTKNOW, CHARSET_ANSI, CHARSET_IBMPC, CHARSET_MAC, CHARSET_SYMBOL } 177 enum FontFamily { FAMILY_DONTKNOW, FAMILY_DECORATIVE, FAMILY_MODERN, FAMILY_ROMAN, FAMILY_SCRIPT, FAMILY_SWISS, FAMILY_SYSTEM } 177 enum FontPitch { PITCH_DONTKNOW, PITCH_FIXED, PITCH_VARIABLE } 178 enum FontType { TYPE_DONTKNOW, TYPE_RASTER, TYPE_VECTOR, TYPE_SCALABLE } 203 enum FontWeight { WEIGHT_DONTKNOW, WEIGHT_LIGHT, WEIGHT_NORMAL, WEIGHT_BOLD } 178 enum GUIType { GUI_DONTKNOW, GUI_WINDOWS, GUI_PM, GUI_MAC, GUI_MOTIF } 485 enum HelpMode{ HELPMODE_CONTEXT, HELPMODE_EXTENDED, HELPMODE_ALL } 231 enum IconStyle { ICON_DEFAULT, ICON_INFO, ICON_WARNING, ICON_ERROR, ICON_QUERY, ICON_NULL } 236 enum MapUnit { MAP_100TH_MM, MAP_10TH_MM, MAP_MM, MAP_CM, MAP_1000TH_INCH, MAP_100TH_INCH, MAP_10TH_INCH, MAP_INCH, MAP_POINT, MAP_TWIP, MAP_PIXEL, MAP_SYSFONT, MAP_APPFONT } 268 enum Orientation { ORIENTATION_PORTRAIT, ORIENTATION_LANDSCAPE } 424 enum PenStyle{ PEN_NULL, PEN_SOLID, PEN_DOT, PEN_DASH, PEN_DASHDOT} 394 enum PointerStyle { POINTER_ARROW, POINTER_WAIT, POINTER_CROSS, POINTER_BEAM, POINTER_NULL } 404 enum Priority { PRIORITY_LOW, PRIORITY_HIGH } 425 enum Quality { QUALITY_PROOF, QUALITY_DRAFT } 425 enum RasterOp { ROP_OVERPAINT, ROP_INVERT, ROP_AND, ROP_OR, ROP_XOR, ROP_NXOR } 355 enum SysChangeType { CHANGE_FONTCOUNT, CHANGE_OTHER } 23 enum SystemType { SYS_DONTKNOW, SYS_PC, SYS_MAC, SYS_SUN } 484 enum TriState { STATE_NOCHECK, STATE_CHECK, STATE_DONTKNOW } 504 5 Resource-Syntax 5.1 Compiler-Schalter Mit den folgenden Schaltern steuern Sie sowohl die Verarbeitung der Quelldatei(en), als auch die vom StarView Resource-Compiler erzeugten Ausgabedateien. -br Gilt nur fr MS-DOS. Es wird der rsc2r.exe anstelle von rsc2.exe aufgerufen. -bz Gilt nur fr MS-DOS. Es wird der rsc2z.exe anstelle von rsc2.exe aufgerufen. -d Symboldefinitionen fr den Pr„prozessor. -fc Code-Datei. In diese Datei mit der Endung ¯.CXX® werden die Resource-Konstruktoren der in der RC-Datei spezifizierten Klas- sen geschrieben. Die Sprache ist C++. -fh Header-Datei. In diese Datei mit der Endung ¯.HXX® werden die Deklarationen der in der RC-Datei spezifizierten Klassen ge- schrieben. Auch hier ist die Sprache C++. -fl Listing-Datei. In diese Datei werden Fehlermeldungen ausgegeben. -fo Umbenennung der RES-Datei. Der per Default vergebene Name ist der Name der ersten Quelldatei. Er bekommt die Endung ¯.RES®. Die RES-Datei ist die vom systemabh„ngigen Resource- Compiler erzeugte Bin„rdatei. -fp Umbenennung der SRS-Datei. Der per Default vergebene Name ist der Name der ersten Quelldatei und die Endung ¯.SRS®. Die SRS-Datei ist eine symbolfreie Resource-Beschreibungsdatei. Sie wird nur dann erzeugt, wenn Sie RSC.EXE mit dem Schalter ¯-s® aufrufen. -fs Umbenennung der RC-Datei. Der per Default vergebene Name ist der Name der ersten Quelldatei und die Endung ¯.RC®. Die RC-Datei ist die vom systemabh„ngigen Resource-Compiler er- zeugte Resource-Beschreibungsdatei. -h Zeigt eine Kurzfassung der m”glichen Parameter an. -i Include-Direktiven fr den Pr„prozessor, falls weitere Suchpfade fr Include-Dateien bercksichtigt werden sollen. -l Es wird eine Syntaxanalyse vorgenommen, und der Pr„prozessor wird nicht aufgerufen. Eine RC-Datei wird erzeugt. Der system- abh„ngige Resource-Compiler (RC.EXE) wird aufgerufen, der jetzt seinerseits eine RES-Datei erstellt. -p Kein Pr„prozessor, dafr aber eine Aufl”sung der Resourcen, die auch vom Design-Editor bearbeitet werden k”nnen (s.a. ¯Pr„prozessor®). -pp Anderen Pr„prozessor verwenden (siehe ¯Pr„prozessor®). -r Der systemabh„ngige Resource-Compiler (z.B. RC.EXE fr Win- dows) wird nicht aufgerufen, es wird keine RES-Datei erzeugt. -s Es wird eine Syntaxanalyse vorgenommen und eine Datei mit der Endung ¯.SRS® erzeugt. -WIN Es wird eine MS-Windows-Resource erstellt. -MTF Es wird eine X-Windows- (Motif-) Resource erstellt. -MAC Es wird eine Macintosh-Resource erstellt. -REFDEEP Die Zahl gibt an, wie tief der Resource-Compiler die Referenzen aufl”sen soll. Default ist 10, das heiát der Compiler l”st ver- schachtelungen von Referenzen bis 10 auf. 5.2 Syntax Compiler-Anweisungen #pragma CHARSET IBMPC #pragma CHARSET ANSI #pragma CHARSET MAC Default Pr„prozessor-Syntax PrepDefinition: { IncludeDefinition } [{ DefineDefinition }] IncludeDefinition: '#' include '<' Dateiname '>' | '#' include String DefineDefinition: '#' define SYMBOL NumberExpression Class-Syntax ResourceDefinition: [ PrepDefinition ] { ClassDefinition } ClassDefinition: ClassHeader ClassBody ';' ClassHeader ';' | NumberExpression ';' | TupelExpression ';' | CONSTNAME ';' | Boolean ';' | String ';' ClassHeader: CLASSNAME [ Identifier ] [ ',' | '<' Identifier ] ClassBody: '{' { ClassDefinition | VariableDefiniton } '}' VariableDefinition: VARIABLENAME '=' ClassDefinition | VARIABLENAME '=' '{' { ClassDefinition } '}' ';' TupelExpression: [ ClassDefinition ] '(' { ClassDefinition } ')' NumberExpression: [ '-' | '+' ] Number | NumberExpression '+' | '-' | '*' | '/' NumberExpression | [ '-' | '+' ] '(' NumberExpression ')' Identifier: NumberExpression | Symbol Number: { DEZIMALZIFFER } | '0' 'x' { HEXADEZIMALZIFFER } Boolean: TRUE | FALSE 5.3 StarView-Resourceklassen Stehen hinter einem Variablennamen drei Punkte, dann ist kein Default definiert, oder der Default ist auf den Systemen verschieden. Resource Accelerator Default: Accelerator { HelpText = ""; KeyList = {}; }; Resource AcceleratorKey Default: AcceleratorKey { Identifier = ...; DISABLE = FALSE; Shift = FALSE; Modifier1 = FALSE; Modifier2 = FALSE; Code = ...; }; Resource AutoCheckBox Beispiel: AutoCheckBox {}; Resource AutoRadioButton Beispiel: AutoRadioButton {}; Resource AutoScrollBar Beispiel: AutoScrollBar {}; Resource AutoTriStateBox Beispiel: AutoTriStateBox {}; Resource Bitmap Default: Bitmap { File = ""; }; Resource Brush Default: Brush { Style = BRUSH_SOLID; Transparent = FALSE; FillColor = Color { ... }; BrushColor = Color { ... }; }; Resource Button Beispiel: Button {}; Resource CheckBox Default: CheckBox { Check = FALSE; }; Resource Color Default: Color { Predefine = COL_USER; // RGB gltig RGB = (0, 0, 0); // schwarz }; Resource ComboBox Default: ComboBox { MaxTextLength = 0; }; Resource Control Default: Control { TabStop = FALSE; Group = FALSE; }; Resource DefPushButton Beispiel: DefPushButton {}; Resource Dialog Beispiel: [Dialog] {}; Resource DropDownComboBox Beispiel: DropDownComboBox {}; Resource DropDownListBox Beispiel: DropDownListBox {}; Resource Edit Default: [Edit] { Left = FALSE; Center = FALSE; Right = FALSE; MaxTextLength = 0; }; Resource ErrorBox Beispiel: ErrorBox {}; Resource FixedBitmap Default: FixedBitmap { Fixed = Bitmap{}; }; Resource FixedIcon Default: FixedIcon { Fixed = Icon{}; }; Resource FixedText Default: FixedText { Left = FALSE; Center = FALSE; Right = FALSE; }; Resource Font Default: Font { Family = FAMILY_DONTKNOW; Weight = WEIGHT_NORMAL; CharSet = CHARSET_DONTKNOW; Pitch = PITCH_DONTKNOW; Align = ALIGN_TOP; Height = 0; Width = 0; CharOrientation = 0; LineOrientation = 0; Italic = FALSE; Underline = FALSE; StrikeOut = FALSE; Transparent = FALSE; Shadow = FALSE; OutLine = FALSE; Text = ""; FontColor = Color { ... }; FillColor = Color { ... }; }; Resource GroupBox Beispiel: GroupBox {}; Resource Icon Default: Icon { Predefine = ICON_DEFAULT; }; Resource InfoBox Beispiel: InfoBox {}; Resource ListBox Default: ListBox { Sort = FALSE; CurPos = 0; StringList = {}; }; Resource MapMode Default: MapMode { MapUnit = MAP_APPFONT; X = 0; Y = 0; xScale = ( 1, 1 ); yScale = ( 1, 1 ); }; Resource MDIWindow Beispiel: MDIWindow {}; Resource Menu Default: Menu { ItemList = {}; }; Resource MenuItem Default: MenuItem { Text = ""; HelpText = ""; Identifier = ...; HelpId = 0; Check = FALSE; Disable = TRUE; Seperator = FALSE; ItemBitmap = ...; }; Resource MessBox Default: MessBox { Title = ""; Message = ""; Buttons = WB_OK; HelpId = 0; HelpText = ""; DefaultButton = ...; }; Resource ModalDialog Default: ModalDialog { SysModal = FALSE; }; Resource ModelessDialog Beispiel: ModelessDialog {}; Resource MultiLineEdit Default: MultiLineEdit { HSCROLL = FALSE; VSCROLL = FALSE; }; Resource OutputDevice Default: OutputDevice { OutputPen = Pen { ... }; BackGroundBrush = Brush { ... }; FillInBrush = Brush{ ... }; OutputFont = Font { ... }; OutputMapMode = MapMode { ... }; }; Resource Pen Default: Pen { Width = 0; Style = PEN_NULL; PenColor = Color {}; }; Resource Pointer Default: Pointer { Predefine = POINTER_ARROW; File = ""; }; Resource PushButton Beispiel: PushButton {}; Resource QueryBox Beispiel: QueryBox {}; Resource RadioButton Default: RadioButton { Check = FALSE; }; Resource Resource Default: Resource { Comment = ""; ExtraData = {}; }; Resource ScrollBar Default: ScrollBar { MinPos = 0; MaxPos = 100; ThumbPos = 0; PageSize = 10; LineSize = 1; VSCROLL = FALSE; HSCROLL = FALSE; }; Resource SingleLineEdit Beispiel: SingleLineEdit {}; Resource String Default: String { Text = ""; }; Resource SysMessBox Beispiel: SysMessBox {}; Resource SystemWindow Default: [SystemWindow] { Sizeable = FALSE; Moveable = FALSE; Minable = FALSE; Maxable = FALSE; Closeable = FALSE; App = FALSE; OutputSize = FALSE; }; Resource TriStateBox Default: TriStateBox { TriStateDisable = FALSE; TriState = STATE_NOCHECK; }; Resource WarningBox Beispiel: WarningBox {}; Resource Window Default: Window { HelpId = 0; Border = FALSE; Hide = FALSE; ClipChildren = FALSE; Disable = FALSE; WindowPointer = ...; Text = ""; HelpText = ""; Pos = ... ( ..., ... ); Size = ... ( ..., ... ); }; Resource WorkWindow Default: WorkWindow { Show = SHOW_NORMAL; WorkWindowIcon = ...; };