WinapiExtension
 All Classes Files Functions Variables Typedefs Pages
Public Member Functions | List of all members
StatusBar Class Reference

Wrapper for status bar controls. More...

#include <control.h>

Inheritance diagram for StatusBar:
Control IWindow

Public Member Functions

 StatusBar (HWND hwnd=NULL)
 
BOOL GetBorders (int &horizontalBorder, int &verticalBorder, int &borderBetweenParts)
 
HICON GetIcon (LONG_PTR part)
 
void GetParts (std::vector< int > &partCoordinates)
 
BOOL GetRect (LONG_PTR part, RECT &r)
 
BOOL GetSimple ()
 
tstring GetText (LONG_PTR part)
 
tstring GetTipText (WORD part, WORD bufferSize=256)
 
BOOL SetIcon (LONG_PTR part, HICON icon)
 
BOOL SetParts (int *partCoordinates, int numParts)
 
void SetSimple (BOOL simpleMode)
 
BOOL SetText (BYTE part, const tstring &text, BYTE drawingOperation=0)
 
void SetTipText (LONG_PTR part, const tstring &text)
 
- Public Member Functions inherited from Control
 Control (HWND hwnd=NULL)
 
HWND _InternalGetHandle ()
 
 operator HWND ()
 
Controloperator= (HWND hwnd)
 
- Public Member Functions inherited from IWindow
Rect ClientRect ()
 
void Destroy ()
 
void DragAcceptFiles (BOOL accept=TRUE)
 
void Enable (BOOL enable)
 
DWORD GetExStyle ()
 
HFONT GetFont ()
 
HICON GetIcon (BOOL bigIcon)
 
DWORD GetID ()
 
DWORD GetStyle ()
 
tstring GetText ()
 
BOOL Invalidate (const RECT *rect=NULL, BOOL eraseBkgnd=TRUE)
 
BOOL IsEnabled ()
 
BOOL IsVisible ()
 
void KillTimer (UINT_PTR timerID)
 
void ModifyStyle (DWORD add, DWORD remove)
 
void Move (int x, int y, BOOL redraw=TRUE)
 
void Move (const POINT &p, BOOL redraw=TRUE)
 
void Move (int x, int y, int width, int height, BOOL redraw=TRUE)
 
void Move (const POINT &p, const SIZE &s, BOOL redraw=TRUE)
 
void Move (const RECT &r, BOOL redraw=TRUE)
 
HWND ParentHandle ()
 
Rect RectOnParent ()
 
BOOL Redraw (const RECT *rect=NULL, HRGN region=NULL, UINT flags=RDW_INVALIDATE|RDW_UPDATENOW|RDW_ERASE)
 
HWND SetFocus ()
 
void SetFont (HFONT font, BOOL redraw=TRUE)
 
HICON SetIcon (HICON icon, BOOL bigIcon)
 
void SetRedraw (BOOL allowRedraw)
 
void SetText (const tstring &text)
 
UINT_PTR SetTimer (UINT_PTR timerID, UINT interval, TIMERPROC proc=NULL)
 
BOOL Show (int cmdShow)
 
Rect WindowRect ()
 

Additional Inherited Members

- Public Attributes inherited from Control
HWND handle
 

Detailed Description

Wrapper for status bar controls.

Constructor & Destructor Documentation

StatusBar::StatusBar ( HWND  hwnd = NULL)
inline

Member Function Documentation

BOOL StatusBar::GetBorders ( int &  horizontalBorder,
int &  verticalBorder,
int &  borderBetweenParts 
)
inline
HICON StatusBar::GetIcon ( LONG_PTR  part)
inline
void StatusBar::GetParts ( std::vector< int > &  partCoordinates)
inline
BOOL StatusBar::GetRect ( LONG_PTR  part,
RECT &  r 
)
inline
BOOL StatusBar::GetSimple ( )
inline
tstring StatusBar::GetText ( LONG_PTR  part)
inline
tstring StatusBar::GetTipText ( WORD  part,
WORD  bufferSize = 256 
)
inline
BOOL StatusBar::SetIcon ( LONG_PTR  part,
HICON  icon 
)
inline
BOOL StatusBar::SetParts ( int *  partCoordinates,
int  numParts 
)
inline
void StatusBar::SetSimple ( BOOL  simpleMode)
inline
BOOL StatusBar::SetText ( BYTE  part,
const tstring text,
BYTE  drawingOperation = 0 
)
inline
void StatusBar::SetTipText ( LONG_PTR  part,
const tstring text 
)
inline

The documentation for this class was generated from the following file: