MCPcopy Create free account
hub / github.com/cinience/RedisStudio / CListUI

Method CListUI

DuiLib/Control/UIList.cpp:9–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7//
8
9CListUI::CListUI() : m_pCallback(NULL), m_bScrollSelect(false), m_iCurSel(-1), m_iExpandedItem(-1)
10{
11 m_pList = new CListBodyUI(this);
12 m_pHeader = new CListHeaderUI;
13
14 Add(m_pHeader);
15 CVerticalLayoutUI::Add(m_pList);
16
17 m_ListInfo.nColumns = 0;
18 m_ListInfo.nFont = -1;
19 m_ListInfo.uTextStyle = DT_VCENTER; // m_uTextStyle(DT_VCENTER | DT_END_ELLIPSIS)
20 m_ListInfo.dwTextColor = 0xFF000000;
21 m_ListInfo.dwBkColor = 0;
22 m_ListInfo.bAlternateBk = false;
23 m_ListInfo.dwSelectedTextColor = 0xFF000000;
24 m_ListInfo.dwSelectedBkColor = 0xFFC1E3FF;
25 m_ListInfo.dwHotTextColor = 0xFF000000;
26 m_ListInfo.dwHotBkColor = 0xFFE9F5FF;
27 m_ListInfo.dwDisabledTextColor = 0xFFCCCCCC;
28 m_ListInfo.dwDisabledBkColor = 0xFFFFFFFF;
29 m_ListInfo.dwLineColor = 0;
30 m_ListInfo.bShowHtml = false;
31 m_ListInfo.bMultiExpandable = false;
32 ::ZeroMemory(&m_ListInfo.rcTextPadding, sizeof(m_ListInfo.rcTextPadding));
33 ::ZeroMemory(&m_ListInfo.rcColumn, sizeof(m_ListInfo.rcColumn));
34}
35
36LPCTSTR CListUI::GetClass() const
37{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected