Hi all,
i wouldlike to create a listview control but the createwindow function return null

Code:
hWndListView = CreateWindow(WC_LISTVIEW,WC_LISTVIEW,WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN |LVS_REPORT | LVS_AUTOARRANGE | LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS | LVS_SINGLESEL, 0,0,300,300,hwnd,NULL,h, NULL);
             if (hWndListView == NULL)
                        MessageBox(hwnd,"Oooops","",MB_OK);
I am coding with Dev-C++.