MCPcopy Create free account
hub / github.com/SOUI2/soui / LoadItemAttribute

Method LoadItemAttribute

SOUI/src/control/SListbox.cpp:264–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264void SListBox::LoadItemAttribute(pugi::xml_node xmlNode, LPLBITEM pItem)
265{
266 pItem->nImage=xmlNode.attribute(L"icon").as_int(pItem->nImage);
267 pItem->lParam=xmlNode.attribute(L"data").as_uint((UINT)pItem->lParam);
268 SStringW strText = GETSTRING(xmlNode.attribute(L"text").value());
269 pItem->strText.SetText(S_CW2T(strText));
270}
271
272int SListBox::InsertItem(int nIndex, LPLBITEM pItem)
273{

Callers

nothing calls this directly

Calls 5

as_intMethod · 0.45
attributeMethod · 0.45
as_uintMethod · 0.45
valueMethod · 0.45
SetTextMethod · 0.45

Tested by

no test coverage detected