Answer the question
In order to leave comments, you need to log in
How to put task title in ListView via WinApi?
There is a listView1 component. How can I put the title of the task there? I am trying in this way:
if (Process32First(hSnapshot, &pe)) {
do{
ListViewItem ^ lviTasks = gcnew ListViewItem(pe.szExeFile);
lviTasks ->SubItems->Add(pe.cntThreads);
listView1->Items->Add(lviTasks );
CloseHandle(hProcess);
} while (Process32Next(hSnapshot, &pe));
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question