hwndListView = CreateWindowEx( WS_EX_CLIENTEDGE, // ex style
WC_LISTVIEW, // class name defined in commctrl.h
NULL, // window text
dwStyle, // style
0, // x position
200, // y position
200, // width
200, // height
hwndParent, // parent
(HMENU)IDC_LISTVIEW, // ID
(HINSTANCE)GetWindowLong(hwndParent, GWL_HINSTANCE), // instance
NULL); // no extra data
I think what you are looking for is the listview common control, rather than
a listbox. The listbox creates "snaking" columns of data, rather than
columnar data.