Hi there. I am trying to convert some code that I used successfully in another language and would appreciate any help on this code. The project compiles and runs OK but no grid lines or full row select are displayed.
//Adjust the ListView to show grid rows
int lStyle;
lStyle = SendMessage(hWndLV, LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0);
SendMessage(hWndLV,LVM_SETEXTENDEDLISTVIEWSTYLE,
lStyle | LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES, 0);
Thanks
David