Click to See Complete Forum and Search --> : CListCtrl:No 3D look


October 27th, 1999, 09:31 PM
I try to create a ListCtrl like this

DWORD dwStyle=LVS_REPORT|LVS_SHOWSELALWAYS
|LVS_SINGLESEL|LVS_NOSORTHEADER
|WS_VISIBLE|WS_CHILD|WS_TABSTOP
|WS_EX_CLIENTEDGE|WS_EX_WINDOWEDGE|WS_BORDER;
if(!m_ListCtrl.Create(dwStyle,tmpRect,this,IDC_LISTCTRLWINDOWID))
return -1;

But it always does not have a 3D look.
How to get a 3D look ListCtrl without using dialog editor?

Thanks in advance
wave

Thomas Ascher
October 28th, 1999, 05:09 AM
Hi, to use extended window styles (WS_EX_*) you cannot use the function Create. Use CreateEx instead.