Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cXCheckListBox.h
Go to the documentation of this file.
1 //
4 //
5 #ifndef _INC_cXCheckListBox_H
6 #define _INC_cXCheckListBox_H
7 #pragma once
8 
9 #include "cXCheckBox.h"
10 #include "cXButton.h"
11 #include "cXScrollBar.h"
12 #include "cXListBox.h"
13 
14 namespace GrayGUI
15 {
16  class cXCheckListBox : public cXListBox
17  {
28 
29  public:
30  cXCheckListBox(cXWindow* pParent, DLGID_t id, bool bCheckSelected = true);
31  virtual ~cXCheckListBox();
32 
33  virtual void AddNewItemCtrl(cXListItem* pItem, int index = -1, bool bUpdate = true);
34  cXCheckBoxPtr AddNewCheckBox(const GChar_t* pszCaption, bool bCheckedState = false, D3DCOLOR colorText = D3DCOLOR_White, cVariant& vData = cVariant());
35  virtual bool OnCommand(DLGID_t id, cXWindow* pCtrl, WORD wNotify);
36 
37  void get_CheckedStates(bool* bOutput, int iOutputSize);
38  };
39 
41 };
42 #endif
DWORD D3DCOLOR
Stuff normally defined in windows.h or DirectX headers.
Definition: cColorRef.h:24
Definition: cXCheckBox.h:14
Definition: cXCheckListBox.h:17
cXCheckListBox(cXWindow *pParent, DLGID_t id, bool bCheckSelected=true)
Definition: cXCheckListBox.cpp:12
virtual bool OnCommand(DLGID_t id, cXWindow *pCtrl, WORD wNotify)
Definition: cXCheckListBox.cpp:21
virtual void AddNewItemCtrl(cXListItem *pItem, int index=-1, bool bUpdate=true)
Definition: cXCheckListBox.cpp:67
virtual ~cXCheckListBox()
Definition: cXCheckListBox.cpp:17
cXCheckBoxPtr AddNewCheckBox(const GChar_t *pszCaption, bool bCheckedState=false, D3DCOLOR colorText=D3DCOLOR_White, cVariant &vData=cVariant())
Definition: cXCheckListBox.cpp:47
void get_CheckedStates(bool *bOutput, int iOutputSize)
Definition: cXCheckListBox.cpp:108
Definition: cXListBox.h:19
Definition: cXWindow.h:94
Definition: cVariant.h:26
Definition: cRefPtr.h:225
Definition: GrayGUI.cpp:11
cRefPtr< cXCheckListBox > cXCheckListBoxPtr
Definition: cXCheckListBox.h:40
UINT DLGID_t
old window format this was a WORD, EX format this is UINT32.
Definition: cResDialog.h:68
class __DECL_IMPORT cVariant
Definition: cJSONWriter.h:19
char GChar_t
My version of TCHAR, _TCHAR.
Definition: StrConst.h:26
uint16 index
Definition: sample3.cpp:29