控件显示和隐藏

CListCtrlClm_ListCtrlSaleAll;

DDX_Control(pDX, IDC_LIST_SALEALL, m_ListCtrlSaleAll);

GetDlgItem(IDC_LIST_SALEALL)->ShowWindow(SW_HIDE);

GetDlgItem(IDC_LIST_SALEALL)->ShowWindow(SW_SHOW);

原文地址:https://www.cnblogs.com/klxll/p/3437134.html