dwItem = SendMessage(hList, LB_ADDSTRING, 0, (LPARAM)siCComponent->szDescriptionShort);
lstrcpy(tchBuffer, siCComponent->szDescriptionShort); if(gSystemInfo.bScreenReader) { lstrcat(tchBuffer, " - "); if(!(siCComponent->dwAttributes & SIC_SELECTED)) lstrcat(tchBuffer, sgInstallGui.szUnchecked); else lstrcat(tchBuffer, sgInstallGui.szChecked); } dwItem = SendMessage(hList, LB_ADDSTRING, 0, (LPARAM)tchBuffer);
void lbAddItem(HWND hList, siC *siCComponent){  DWORD dwItem;  dwItem = SendMessage(hList, LB_ADDSTRING, 0, (LPARAM)siCComponent->szDescriptionShort);  if(siCComponent->dwAttributes & SIC_DISABLED)    SendMessage(hList, LB_SETITEMDATA, dwItem, (LPARAM)hbmpBoxCheckedDisabled);  else if(siCComponent->dwAttributes & SIC_SELECTED)    SendMessage(hList, LB_SETITEMDATA, dwItem, (LPARAM)hbmpBoxChecked);  else    SendMessage(hList, LB_SETITEMDATA, dwItem, (LPARAM)hbmpBoxUnChecked);} 