Archived

This topic is now archived and is closed to further replies.

kuphryn

CListBox & Grid :: MFC

Recommended Posts

kuphryn    210
Hi. Is it possible to add/manipulate a grid feature in a CListBox object in a dialog box? The CListBox object displays without grid by default. Thanks, Kuphryn

Share this post


Link to post
Share on other sites
felisandria    739
I don''t think CListBox does it, but if you''re using CListCtrl in LVS_REPORT style, you can use SetExtendedStyle with the LVS_EX_GRIDLINES flag to turn on gridlines.

-fel

Share this post


Link to post
Share on other sites
kuphryn    210
I have used CListView and CListCtrl. The reason I used a CListBox in the dialog box is because I only see a tool to create a listbox in dialog editor.

Kuphryn

Share this post


Link to post
Share on other sites