So I created a win32 dialog with a list box in it, that has the id IDC_LIST1.
Then I just tried to add a string to it with:
SendDlgItemMessage(hDlg, IDC_LIST1, LB_ADDSTRING, 0, (LPARAM)L"test");
but nothing appears!
So I later added an edit box,and changed it's text,that,indicates that there is no hwnd problem or something like that. What could the problem be?