Say I want to add a string to a listbox (contained in a dialog) when I receive WM_CREATE... how would I go about getting the HWND for the dialog box? I know the HWND is in the LOWORD of wParam but using that only works if a WM_COMMAND was issued for that particular listbox.