| 
    GME
    13
    
   
   | 
  
  
  
 
#include <ColourPicker.h>
Public Member Functions | |
| CColourPicker () | |
| DECLARE_DYNCREATE (CColourPicker) | |
| COLORREF | GetColour () | 
| void | SetColour (COLORREF crColour) | 
| void | SetDefaultText (LPCTSTR szDefaultText) | 
| void | SetCustomText (LPCTSTR szCustomText) | 
| void | SetTrackSelection (BOOL bTracking=TRUE) | 
| BOOL | GetTrackSelection () | 
| void | SetSelectionMode (UINT nMode) | 
| UINT | GetSelectionMode () | 
| void | SetBkColour (COLORREF crColourBk) | 
| COLORREF | GetBkColour () | 
| void | SetTextColour (COLORREF crColourText) | 
| COLORREF | GetTextColour () | 
| virtual void | DrawItem (LPDRAWITEMSTRUCT lpDrawItemStruct) | 
| virtual | ~CColourPicker () | 
Protected Member Functions | |
| virtual void | PreSubclassWindow () | 
| void | SetWindowSize () | 
| afx_msg BOOL | OnClicked () | 
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) | 
| afx_msg LONG | OnSelEndOK (UINT lParam, LONG wParam) | 
| afx_msg LONG | OnSelEndCancel (UINT lParam, LONG wParam) | 
| afx_msg LONG | OnSelChange (UINT lParam, LONG wParam) | 
Protected Attributes | |
| BOOL | m_bActive | 
| BOOL | m_bTrackSelection | 
| COLORREF | m_crColourBk | 
| COLORREF | m_crColourText | 
| UINT | m_nSelectionMode | 
| CRect | m_ArrowRect | 
| CString | m_strDefaultText | 
| CString | m_strCustomText | 
Definition at line 38 of file ColourPicker.h.
Definition at line 61 of file ColourPicker.cpp.
| CColourPicker::~CColourPicker | ( | ) |  [virtual] | 
        
Definition at line 74 of file ColourPicker.cpp.
| void CColourPicker::DrawItem | ( | LPDRAWITEMSTRUCT | lpDrawItemStruct | ) |  [virtual] | 
        
Definition at line 166 of file ColourPicker.cpp.
| COLORREF CColourPicker::GetBkColour | ( | ) |  [inline] | 
        
Definition at line 60 of file ColourPicker.h.
| COLORREF CColourPicker::GetColour | ( | ) | 
Definition at line 240 of file ColourPicker.cpp.
| UINT CColourPicker::GetSelectionMode | ( | ) |  [inline] | 
        
Definition at line 57 of file ColourPicker.h.
| COLORREF CColourPicker::GetTextColour | ( | ) |  [inline] | 
        
Definition at line 63 of file ColourPicker.h.
| BOOL CColourPicker::GetTrackSelection | ( | ) |  [inline] | 
        
Definition at line 54 of file ColourPicker.h.
| BOOL CColourPicker::OnClicked | ( | ) |  [protected] | 
        
Definition at line 145 of file ColourPicker.cpp.
| int CColourPicker::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) |  [protected] | 
        
Definition at line 135 of file ColourPicker.cpp.
| LONG CColourPicker::OnSelChange | ( | UINT | lParam, | 
| LONG | wParam | ||
| ) |  [protected] | 
        
Definition at line 125 of file ColourPicker.cpp.
| LONG CColourPicker::OnSelEndCancel | ( | UINT | lParam, | 
| LONG | wParam | ||
| ) |  [protected] | 
        
Definition at line 111 of file ColourPicker.cpp.
| LONG CColourPicker::OnSelEndOK | ( | UINT | lParam, | 
| LONG | wParam | ||
| ) |  [protected] | 
        
Definition at line 93 of file ColourPicker.cpp.
| void CColourPicker::PreSubclassWindow | ( | ) |  [protected, virtual] | 
        
Definition at line 230 of file ColourPicker.cpp.
| void CColourPicker::SetBkColour | ( | COLORREF | crColourBk | ) | 
Definition at line 252 of file ColourPicker.cpp.
| void CColourPicker::SetColour | ( | COLORREF | crColour | ) | 
Definition at line 246 of file ColourPicker.cpp.
| void CColourPicker::SetCustomText | ( | LPCTSTR | szCustomText | ) | 
Definition at line 271 of file ColourPicker.cpp.
| void CColourPicker::SetDefaultText | ( | LPCTSTR | szDefaultText | ) | 
Definition at line 266 of file ColourPicker.cpp.
| void CColourPicker::SetSelectionMode | ( | UINT | nMode | ) |  [inline] | 
        
Definition at line 56 of file ColourPicker.h.
| void CColourPicker::SetTextColour | ( | COLORREF | crColourText | ) | 
Definition at line 259 of file ColourPicker.cpp.
| void CColourPicker::SetTrackSelection | ( | BOOL | bTracking = TRUE | ) |  [inline] | 
        
Definition at line 53 of file ColourPicker.h.
| void CColourPicker::SetWindowSize | ( | ) |  [protected] | 
        
Definition at line 279 of file ColourPicker.cpp.
CRect CColourPicker::m_ArrowRect [protected] | 
        
Definition at line 91 of file ColourPicker.h.
BOOL CColourPicker::m_bActive [protected] | 
        
Definition at line 86 of file ColourPicker.h.
BOOL CColourPicker::m_bTrackSelection [protected] | 
        
Definition at line 86 of file ColourPicker.h.
COLORREF CColourPicker::m_crColourBk [protected] | 
        
Definition at line 88 of file ColourPicker.h.
COLORREF CColourPicker::m_crColourText [protected] | 
        
Definition at line 89 of file ColourPicker.h.
UINT CColourPicker::m_nSelectionMode [protected] | 
        
Definition at line 90 of file ColourPicker.h.
CString CColourPicker::m_strCustomText [protected] | 
        
Definition at line 93 of file ColourPicker.h.
CString CColourPicker::m_strDefaultText [protected] | 
        
Definition at line 92 of file ColourPicker.h.
 1.7.6.1