#include <bitmapdropdown.h>
Public Member Functions | |
CBDDItemInfo () | |
CBDDItemInfo (UINT32 uiBitmapResID, String_256 strText) | |
UINT32 | GetBitmapID () |
BOOL | HasText () |
String_256 | GetText () |
const CBDDItemInfo & | operator= (const CBDDItemInfo &rOther) |
Protected Attributes | |
UINT32 | m_uiBitmapResID |
BOOL | m_bHasText |
String_256 | m_strText |
Definition at line 154 of file bitmapdropdown.h.
|
Definition at line 128 of file bitmapdropdown.cpp. 00129 { 00130 m_uiBitmapResID = (UINT32)-1; 00131 }
|
|
Definition at line 134 of file bitmapdropdown.cpp. 00135 { 00136 m_uiBitmapResID = uiBitmapResID; 00137 m_bHasText = strText.IsEmpty(); 00138 00139 if (m_bHasText) 00140 m_strText = strText; 00141 else 00142 { 00143 // Workaround the DropDown feature - it distinguish the items by 00144 // their names (so we can't select items with empty text. 00145 static UINT32 s_iDummy = 0; 00146 m_strText._MakeMsg(_T("%d"), ++s_iDummy); 00147 } 00148 }
|
|
Definition at line 159 of file bitmapdropdown.cpp. 00160 { 00161 return m_uiBitmapResID; 00162 }
|
|
Definition at line 164 of file bitmapdropdown.cpp. 00165 { 00166 return m_strText; 00167 }
|
|
Definition at line 169 of file bitmapdropdown.cpp. 00170 { 00171 return m_bHasText; 00172 }
|
|
Definition at line 150 of file bitmapdropdown.cpp. 00151 { 00152 m_uiBitmapResID = rOther.m_uiBitmapResID; 00153 m_bHasText = rOther.m_bHasText; 00154 m_strText = rOther.m_strText; 00155 00156 return *this; 00157 }
|
|
Definition at line 169 of file bitmapdropdown.h. |
|
Definition at line 170 of file bitmapdropdown.h. |
|
Definition at line 168 of file bitmapdropdown.h. |