I have a ListCtrl in one of the dialog of a mfc application. I want to change the column name style and the button style to look more like win7 themed. this is the old dialog with the listCtrl in right.
what I want to change the top row of the table and the buttons to something like this ,
can this be done by changing any style by doing m_ElementListCtrl.SetExtendedStyle(..) ? or chaning some of its properties ?
Hi If your app is Unicode(otherwise there is some problems) you need to use Common controls 6.
In your
stdafx.h
file you probably could see this kind of code , if no , just add it in the end of file, if you change your app to UNICODE you will see controls with new style.Also check Project Properties -> linker-> Manifest File-> Generate Manifest should be set on
Yes (/MANIFEST)