LISTVIEW_SetRBorder and LISTVIEW_SetLBorder don't work.

I'm trying to create a LISTVIEW widget in the centre of a window. The problem is that the LISTVIEW that I create does not have the left border. I tried LISTVIEW_SetLBorder(ListviewHandle, 1);but it seems to not work at all. I also tried usingLISTVIEW_SetRBorder(ListviewHandle, 0);to remove the right border, just to see if the function works but I had the same result - this function also does not seem have any effect .

Please, tell me what I'm doing wrong or how to create a LISTVIEW widget with both right and left borders. Here is my callback function for the window in which I want to create the LISTVIEW.