getiting handle to pane or frame |
Post Reply |
Author | |
madriceg
Newbie Joined: 04 October 2007 Location: United States Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 10 October 2007 at 10:56am |
I have a pane/frame with a CTreeCtrl in it. I want to parse a file and put the contents in the CTreeCtrl. How do I get a handle to the pane or frame from another class?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Call FindPane of m_paneManager.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
madriceg
Newbie Joined: 04 October 2007 Location: United States Status: Offline Points: 6 |
Post Options
Thanks(0)
|
Ok I got the pane. I created a form with a CTreeCtrl on it and when I loaded the paned, I put this form on the pane. How do I populate the tree now that I have the pane? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Now if you have Pointer to pane, call pPane->GetChild() it return Frame that attached to pane....
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
madriceg
Newbie Joined: 04 October 2007 Location: United States Status: Offline Points: 6 |
Post Options
Thanks(0)
|
Thanks, I really appreciate everything. The view of the frame is not active. How do I set this to active through code?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
what do you mean by not active ? do you need set focus ? How do you create frame+view ? |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |