BOOL CMainDlg::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext) 
{
// TODO: Add your specialized code here and/or call the base class
HTREEITEM root=m_joblist.InsertItem("MyFile");
HTREEITEM sub1=m_joblist.InsertItem("myDemo",root);

return CDialog::Create(IDD, pParentWnd);
}