use this

HWND h_ListBox;

h_ListBox = CreateWindow(
_T("LISTBOX"),
...