简体   繁体   中英

CListCtrl: single column without column headings?

If I set View = Report, then you get a single column and a vertical scrollbar (what I want). However you also get an area at the top reserved for column headings even if you don't have column headings (not what I want).

If I set View = List, then no screen space wasted for column headings (what I want) but there are now multiple columns and a horizontal scrollbar (not what I want).

I think I'd be happy if I could use Report mode but just somehow shrink the space reserved for the column headings to zero. Any ideas?

I think you are searching for CListBox . See here for more. If you would like to continue with CListCtrl then use List view or Small Icon instead of Report view. For more see here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM