Is it just my syntax, or is it not possible to compile a resource with styles like LVS_EX_GRIDLINES on a Listview control? I tried including commcrtl.h but it just spits out an generic compile error. Anyone else tried this?
Is it just my syntax, or is it not possible to compile a resource with styles like LVS_EX_GRIDLINES on a Listview control? I tried including commcrtl.h but it just spits out an generic compile error. Anyone else tried this?
I've tried using LVS_EX_GRIDLINES on a ListView control in the resource file. It also does not work for me. I don't get any resource compiler errors or warnings. But the gridlines do not appear. My workaround was to use the following statement:
Code:SendMessage(hList,LVM_SETEXTENDEDLISTVIEWSTYLE,0,LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES );
Yeah, I use the message too. I was just hoping to remove a little clutter from the rest of my source.