![]() |
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)
Quote Reply
Topic: getiting handle to pane or framePosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 October 2007 at 2:01pm |
|
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)
Quote Reply
Posted: 10 October 2007 at 3:03pm |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 October 2007 at 12:40am |
|
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)
Quote Reply
Posted: 11 October 2007 at 9:11am |
|
Thanks, I really appreciate everything. The view of the frame is not active. How do I set this to active through code?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 October 2007 at 8:33am |
|
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 |