dummy.iSubItem = 0;
dummy.cx = (clientRect.right - clientRect.left) - GetSystemMetrics(SM_CXVSCROLL);
- ListView_InsertColumn(g_hBackgroundList, 0, &dummy);
+ (void)ListView_InsertColumn(g_hBackgroundList, 0, &dummy);
/* Add the "None" item */
listItem.iItem = g_listViewItemCount;
listItem.lParam = g_listViewItemCount;
- ListView_InsertItem(g_hBackgroundList, &listItem);
+ (void)ListView_InsertItem(g_hBackgroundList, &listItem);
ListView_SetItemState(g_hBackgroundList, g_listViewItemCount, LVIS_SELECTED, LVIS_SELECTED);
g_listViewItemCount++;
if(i++ == 0)
{
g_hShellImageList = himl;
- ListView_SetImageList(g_hBackgroundList, himl, LVSIL_SMALL);
+ (void)ListView_SetImageList(g_hBackgroundList, himl, LVSIL_SMALL);
}
backgroundItem = &g_backgroundItems[g_listViewItemCount];
listItem.iItem = g_listViewItemCount;
listItem.lParam = g_listViewItemCount;
- ListView_InsertItem(g_hBackgroundList, &listItem);
+ (void)ListView_InsertItem(g_hBackgroundList, &listItem);
ListView_SetItemState(g_hBackgroundList, g_listViewItemCount, LVIS_SELECTED, LVIS_SELECTED);
g_listViewItemCount++;
if(i++ == 0)
{
g_hShellImageList = himl;
- ListView_SetImageList(g_hBackgroundList, himl, LVSIL_SMALL);
+ (void)ListView_SetImageList(g_hBackgroundList, himl, LVSIL_SMALL);
}
backgroundItem = &g_backgroundItems[g_listViewItemCount];
listItem.iItem = g_listViewItemCount;
listItem.lParam = g_listViewItemCount;
- ListView_InsertItem(g_hBackgroundList, &listItem);
+ (void)ListView_InsertItem(g_hBackgroundList, &listItem);
g_listViewItemCount++;
}
listItem.iItem = g_listViewItemCount;
listItem.lParam = g_listViewItemCount;
- ListView_InsertItem(g_hBackgroundList, &listItem);
+ (void)ListView_InsertItem(g_hBackgroundList, &listItem);
g_listViewItemCount++;
}