Can I have the full source code to change to different Views for a list view...
my implementation of :
DWORD dwNewStyle = LVS_SMALLICON;
DWORD dwOldStyle = GetWindowLong(m_hWnd, GWL_STYLE);
dwNewStyle |= (dwOldStyle &=~LVS_TYPEMASK);
SetWindowLong(m_hWnd, GWL_STYLE, dwNewStyle);
doesnt seem to do anything. I insert this codes to a bunch of buttons which represent the different views. I change the variable dwNewStyle to support the 4 views.