I am trying to get output to a list box in my dialog working.
Here is an example of the function I am using.
SendMessage(GetDlgItem( hChildHandle, IDC_SESSIONS ),LB_ADDSTRING,0,(LPARAM)szText);
hChildHandle is equal to my main window handle
do I need a seperate handle for my dialog, if so how do I get it.
Little confused about handles.