CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    5

    Tree Control in Dialog Bar

    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

  2. #2
    Join Date
    May 1999
    Posts
    16

    Re: Tree Control in Dialog Bar

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured