How to make a ClistCtrl has a gridline look?
-
I'm sure it involve LVS_EX_GRIDLINES attribute. but ClistCtrl::SetExtendedStyle(LVS_EX_GRIDLINES | LVS_REPORT); didn't work!:)
maybe LVS_REPORT has to be set through ClistCtrl::SetStyle( LVS_REPORT ); and then try setting ClistCtrl::SetExtendedStyle( GetExtendedStyle() | LVS_EX_GRIDLINES ); i think that LVS_EX_... means Extended style, and can be set only through SetExtendedStyle()
-
maybe LVS_REPORT has to be set through ClistCtrl::SetStyle( LVS_REPORT ); and then try setting ClistCtrl::SetExtendedStyle( GetExtendedStyle() | LVS_EX_GRIDLINES ); i think that LVS_EX_... means Extended style, and can be set only through SetExtendedStyle()
Hi, What's wrong with my VC++ 5.0 Compiler? It complains, C:\VC\excel\excelDlg.cpp(130) : error C2039: 'SetStyle' : is not a member of 'CListCtrl' C:\VC\excel\excelDlg.cpp(131) : error C2039: 'SetExtendedStyle' : is not a member of 'CListCtrl' C:\VC\excel\excelDlg.cpp(131) : error C2039: 'GetExtendedStyle' : is not a member of 'CListCtrl' Or You guys are wrong.;P