Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CheckListbox Class Reference

#include <CheckListbox.h>

List of all members.

Public Member Functions

 CheckListbox (const RECT &r, HWND hFather)
 ~CheckListbox ()
void addItem (const std::string &label, bool bSelected=false)
void addItems (const std::list< std::pair< std::string, bool > > &items)
void removeItem (const std::string &label)
void removeItems ()
std::list< std::string > getSelected () const
std::list< std::string > getUnselected () const
void setSelected (const std::string &nm, bool bSelected)
std::string getFocused () const
int getId () const
void selectAll ()
void deselectAll ()

Private Member Functions

LRESULT fatherProc (UINT uMsg, WPARAM wP, LPARAM lP)
LRESULT listProc (UINT uMsg, WPARAM wP, LPARAM lP)
std::string getItem (int i) const
void alternateSelection (int i)

Static Private Member Functions

static LRESULT CALLBACK dispatchFatherProc (HWND hWnd, UINT uMsg, WPARAM wP, LPARAM lP)
static LRESULT CALLBACK dispatchListProc (HWND hWnd, UINT uMsg, WPARAM wP, LPARAM lP)
static int createId ()

Private Attributes

HWND m_hWnd
HWND m_hFather
int m_id
std::list< std::string > m_selected

Static Private Attributes

static WNDPROC m_origListProc = NULL
static Boxes m_boxes
static CriticalSection m_lock
static std::map< HWND, WNDPROC > m_origProcs
static std::map< HWND, std::list<
CheckListbox * > > 
m_subclassing

Classes

class  Boxes


Constructor & Destructor Documentation

CheckListbox::CheckListbox const RECT &  r,
HWND  hFather
 

CheckListbox::~CheckListbox  ) 
 


Member Function Documentation

void CheckListbox::addItem const std::string &  label,
bool  bSelected = false
 

void CheckListbox::addItems const std::list< std::pair< std::string, bool > > &  items  ) 
 

void CheckListbox::alternateSelection int  i  )  [private]
 

int CheckListbox::createId  )  [static, private]
 

void CheckListbox::deselectAll  ) 
 

LRESULT CALLBACK CheckListbox::dispatchFatherProc HWND  hWnd,
UINT  uMsg,
WPARAM  wP,
LPARAM  lP
[static, private]
 

LRESULT CALLBACK CheckListbox::dispatchListProc HWND  hWnd,
UINT  uMsg,
WPARAM  wP,
LPARAM  lP
[static, private]
 

LRESULT CheckListbox::fatherProc UINT  uMsg,
WPARAM  wP,
LPARAM  lP
[private]
 

std::string CheckListbox::getFocused  )  const
 

int CheckListbox::getId  )  const
 

string CheckListbox::getItem int  i  )  const [private]
 

std::list< string > CheckListbox::getSelected  )  const
 

std::list<std::string> CheckListbox::getUnselected  )  const
 

LRESULT CheckListbox::listProc UINT  uMsg,
WPARAM  wP,
LPARAM  lP
[private]
 

void CheckListbox::removeItem const std::string &  label  ) 
 

void CheckListbox::removeItems  ) 
 

void CheckListbox::selectAll  ) 
 

void CheckListbox::setSelected const std::string &  nm,
bool  bSelected
 


Member Data Documentation

CheckListbox::Boxes CheckListbox::m_boxes [static, private]
 

HWND CheckListbox::m_hFather [private]
 

HWND CheckListbox::m_hWnd [private]
 

int CheckListbox::m_id [private]
 

CriticalSection CheckListbox::m_lock [static, private]
 

WNDPROC CheckListbox::m_origListProc = NULL [static, private]
 

std::map< HWND, WNDPROC > CheckListbox::m_origProcs [static, private]
 

std::list<std::string> CheckListbox::m_selected [private]
 

std::map< HWND, std::list< CheckListbox * > > CheckListbox::m_subclassing [static, private]
 


The documentation for this class was generated from the following files:
Generated on Thu Jun 16 00:13:25 2005 for Abuse! by  doxygen 1.4.3