Click to See Complete Forum and Search --> : Tree Control in Dialog Bar


jkj
April 7th, 1999, 03:27 AM
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

dineshsv
May 7th, 1999, 06:31 AM
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.