Scroll bars are not displayed after minimizing the parent window

I create a list view using win32 api and enable scrolling when needed but when i minimize the window and maximize it again , vertical scrollbar is disappeared and i click on the empty area and it is displayed.

Another issue that i have is arrows in scrollbar are not displayed when open the window and after clicking on the empty place they are displayed.

This the code for creating listview:

hwndList1 = CreateWindow(WC_LISTVIEW , L"" , WS_VISIBLE | WS_CHILD | LVS_REPORT | WS_BORDER | WS_VSCROLL | LVS_OWNERDRAWFIXED, 10 , 10 , width , height, hwnd, NULL, GetModuleHandle(NULL), 0);

Please how can i make the scrollbar to displayed?
Thanks
Topic archived. No new replies allowed.