我真的是 MFC 的初学者。我只想要一些关于如何在 SDI 应用程序中使用 ListCtrl 的指南。例如,从用户那里获取输入并在单击按钮时将其显示在 listctrl 中。请指导我。
问问题
455 次
1 回答
1
In SDI application I would use CListView
-derived class for main view. This class has been designed to be used in SDI/MDI apps and supports standard MFC document-view architecture. The CListView
class internally uses CListCtrl, but it does automatic resizing and other handy things, you can also get direct access to embedded list ctrl by calling CListView::GetListCtrl()
method that returns CListCtrl*
.
于 2015-04-09T11:15:37.777 回答