End Google Ads 201810 - BS.net 01 --> Hi,

I created the CFromView dynamically, Form is having CListCtrl where should set the style for CListCtrl?
the below code is giving error as m_ListDriveis is NULL .

bool CRecoverDriveDlg::CreateView(UINT Style, CRect rect,CWnd *Parent){ Create(NULL,NULL,Style,rect,Parent,0x10,NULL); m_ListDrive.SetExtendedStyle(LVS_EX_FULLROWSELECT);//error return 1;}