How to check extended style of List View?
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
I want to check whether LVS_EX_CHECKBOXES is set as the extended style of a list view. How to check that?
Let the m_list be the object of the list control. You get the Extended style of the list control and check it as in the If statement.... m_list.SetExtendedStyle(m_list.GetExtendedStyle() | LVS_EX_CHECKBOXES ); if(m_list.GetExtendedStyle() & LVS_EX_CHECKBOXES) { AfxMessageBox("LVS_EX_CHECKBOXES Set"); } else { AfxMessageBox("LVS_EX_CHECKBOXES Not Set"); } :-D
VIBIN "Fool's run away,where angle's fear to tread"