#include <bars.h>
Inheritance diagram for BarToolButton:
Public Member Functions | |
BarToolButton () | |
Inits BarToolButton member vars. | |
BOOL | Read (CCLexFile &) |
BOOL | Write (CCLexFile &) |
virtual BOOL | Read (String_256 *) |
virtual BOOL | Write (String_256 *) |
UINT32 | GetToolID () |
void | SetToolID (UINT32 ThisToolID) |
UINT32 | GetBubbleID (BOOL) |
In derived classes will return the bubble help resource string currently associated with the control. In the base class an ENSURE occurs. | |
void | SetBubbleID (UINT32 Id) |
UINT32 | GetStatusID (BOOL) |
void | SetStatusID (UINT32 Id) |
UINT32 | GetBitmap (BitmapType Type) |
Lets you get hold of the bitmaps within a BarToolButton. | |
void | SetBitmap (BitmapType Type, UINT32 ThisBitmap) |
Lets you set the bitmap IDs within a BarToolButton. | |
Private Attributes | |
UINT32 | ToolID |
UINT32 | Bitmap |
UINT32 | BitmapActive |
UINT32 | BubbleID |
UINT32 | StatusID |
Definition at line 331 of file bars.h.
|
Inits BarToolButton member vars.
Definition at line 4511 of file bars.cpp. 04512 { 04513 ToolID = 0; 04514 Bitmap = 0; 04515 BitmapActive = 0; 04516 BubbleID = 0; 04517 StatusID = 0; 04518 }
|
|
Lets you get hold of the bitmaps within a BarToolButton.
Definition at line 4536 of file bars.cpp. 04537 { 04538 if (Type == Active) 04539 return BitmapActive; 04540 else 04541 return Bitmap; 04542 }
|
|
In derived classes will return the bubble help resource string currently associated with the control. In the base class an ENSURE occurs.
Reimplemented from BarControlBase. Definition at line 353 of file bars.h. 00353 { return BubbleID;}
|
|
Reimplemented from BarControlBase. Definition at line 356 of file bars.h. 00356 { return StatusID; }
|
|
Definition at line 349 of file bars.h. 00349 { return ToolID; }
|
|
Implements BarItem. Definition at line 346 of file bars.h. 00346 { return TRUE; }
|
|
Implements BarItem. Definition at line 342 of file bars.h. 00342 { return TRUE; }
|
|
Lets you set the bitmap IDs within a BarToolButton.
Definition at line 4560 of file bars.cpp. 04561 { 04562 switch (Type) 04563 { 04564 case Active : BitmapActive = ThisBitmap; break; 04565 case Inactive : Bitmap = ThisBitmap; break; 04566 } 04567 }
|
|
Definition at line 354 of file bars.h.
|
|
Definition at line 357 of file bars.h.
|
|
Definition at line 350 of file bars.h. 00350 {ToolID = ThisToolID;}
|
|
Implements BarItem. Definition at line 347 of file bars.h. 00347 { return TRUE; }
|
|
Implements BarItem. Definition at line 343 of file bars.h. 00343 { return TRUE; }
|
|
|
|
|
|
|
|
|
|
|