15,979
社区成员
发帖
与我相关
我的任务
分享
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CFrameWnd::OnCreate(lpCreateStruct) == -1)
return -1;
if (!m_wndView.Create(WS_CHILD | WS_VISIBLE | LBS_USETABSTOPS |
LBS_SORT | LBS_NOTIFY | LBS_NOINTEGRALHEIGHT, CRect(0, 0, 0, 0),
this, AFX_IDW_PANE_FIRST))
return -1;
return 0;
}