|
-
April 26th, 1999, 10:14 AM
#1
Adding lines to a CListCtrl
Does anyone know how to add lines to a CListCtrl to make it look like a grid?
-
April 26th, 1999, 12:14 PM
#2
Re: Adding lines to a CListCtrl
try this
CListCtrl* pMyList;
...
DWORD dwStyle = pMyList->SendMessage(LVM_GETEXTENDEDLISTVIEWSTYLE, 0, 0);
dwStyle |= LVS_EX_FULLROWSELECT;
dwStyle |= LVS_EX_GRIDLINES;
dwStyle |= LVS_EX_HEADERDRAGDROP;
pMyList->SendMessage(LVM_SETEXTENDEDLISTVIEWSTYLE, 0, dwStyle);
Michael Hagen
-
April 26th, 1999, 12:19 PM
#3
Re: Adding lines to a CListCtrl
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|