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

Wrapper for progress bar controls. More...

#include <control.h>

Inheritance diagram for ProgressBar:
Control IWindow

Public Member Functions

 ProgressBar (HWND hwnd=NULL)
 
LRESULT DeltaPos (LONG_PTR delta)
 
LRESULT GetPos ()
 
LRESULT GetRangeMax ()
 
LRESULT GetRangeMin ()
 
LRESULT GetState ()
 
LRESULT GetStep ()
 
void SetMarquee (BOOL on, LONG_PTR updateInterval=0)
 
LRESULT SetPos (LONG_PTR newPos)
 
void SetRange (LONG_PTR min, LONG_PTR max)
 
LRESULT SetState (WPARAM state)
 
LRESULT SetStep (LONG_PTR step)
 
LRESULT StepIt ()
 
- 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 progress bar controls.

Constructor & Destructor Documentation

ProgressBar::ProgressBar ( HWND  hwnd = NULL)
inline

Member Function Documentation

LRESULT ProgressBar::DeltaPos ( LONG_PTR  delta)
inline
LRESULT ProgressBar::GetPos ( )
inline
LRESULT ProgressBar::GetRangeMax ( )
inline
LRESULT ProgressBar::GetRangeMin ( )
inline
LRESULT ProgressBar::GetState ( )
inline
LRESULT ProgressBar::GetStep ( )
inline
void ProgressBar::SetMarquee ( BOOL  on,
LONG_PTR  updateInterval = 0 
)
inline
LRESULT ProgressBar::SetPos ( LONG_PTR  newPos)
inline
void ProgressBar::SetRange ( LONG_PTR  min,
LONG_PTR  max 
)
inline
LRESULT ProgressBar::SetState ( WPARAM  state)
inline
LRESULT ProgressBar::SetStep ( LONG_PTR  step)
inline
LRESULT ProgressBar::StepIt ( )
inline

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