When I call SendMessage(hListBox, LB_ADDSTRING, (WPARAM) 0, (LPARAM) "LOL fclose!"); inside of case WM_COMMAND: it doesn't add anything to the listbox.
When I call SendMessage(hListBox, LB_ADDSTRING, (WPARAM) 0, (LPARAM) "LOL fclose!"); inside of case WM_CREATE: it works just fine.
This is my first C program, and so far it's going pretty well. However not fully understanding what I'm doing has come back to bite me.



LinkBack URL
About LinkBacks



CornedBee