| 236 | } |
| 237 | |
| 238 | void SetExtendedListStyle(DWORD dwExtStyle) |
| 239 | { |
| 240 | ATLASSERT(::IsWindow(m_hWnd)); |
| 241 | // Assign styles |
| 242 | if( (dwExtStyle & PLS_EX_SORTED) != 0 ) { |
| 243 | ATLASSERT((dwExtStyle & PLS_EX_CATEGORIZED)==0); // We don't support sorted categories! |
| 244 | ATLASSERT(GetStyle() & LBS_SORT); |
| 245 | ATLASSERT(GetStyle() & LBS_HASSTRINGS); |
| 246 | } |
| 247 | m_dwExtStyle = dwExtStyle; |
| 248 | // Recalc colours and fonts |
| 249 | SendMessage(WM_SETTINGCHANGE); |
| 250 | } |
| 251 | |
| 252 | DWORD GetExtendedListStyle() const |
| 253 | { |
nothing calls this directly
no outgoing calls
no test coverage detected