| 97 | } |
| 98 | |
| 99 | COLORREF GetSelectedColor() const |
| 100 | { |
| 101 | ATLASSERT(::IsWindow(m_hWnd)); |
| 102 | int iItem = GetCurSel(); |
| 103 | if( iItem == -1 ) return (COLORREF) -1; // Returns -1 if none if selected |
| 104 | return (COLORREF) GetItemData(iItem) & 0xFFFFFF; |
| 105 | } |
| 106 | |
| 107 | int FindColor(COLORREF clr) const |
| 108 | { |
nothing calls this directly
no test coverage detected