I have tree control in a dialog bar. Since dialog bars do not get
WM_INITDIALOG messages, how and where do I do the initialization for the
tree control.
Jai
Printable View
I have tree control in a dialog bar. Since dialog bars do not get
WM_INITDIALOG messages, how and where do I do the initialization for the
tree control.
Jai
Hi,
You can use CTreeView *pWnd = (CTreeView *)m_wndDlgBar.GetDlgItem(ID_TREEVIEW_ITEM) in your mainframe class after creating( inside mainframe::OnCreate() ) the dialogbar and do whatever you want.
Cheers,
Dinesh.