I'm new to windows programming and I'm trying to figure out how to do combo boxes.
First, how do I add things to them? I've tried:
but the combo box stayed blank.Code:
SendDlgItemMessage(hWnd, IDC_NAMES, LB_ADDSTRING, 0, (LPARAM)"test")
Second, the item the user chooses will return in the LOWORD(wParam) right?
By the way, any good tutorials on how to do this? I've already tried the FAQ, links, and google, but none describe how to do combo boxes specifically.