load_o_crap
asked on
Setting Views in List View
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.
Thanks..
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.
Thanks..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER