Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How can I get the view in the pane?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How can I get the view in the pane?

 Post Reply Post Reply
Author
Message
mqheather View Drop Down
Newbie
Newbie


Joined: 01 December 2005
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote mqheather Quote  Post ReplyReply Direct Link To This Post Topic: How can I get the view in the pane?
    Posted: 09 December 2005 at 1:40am

I create a pane with a view class , i want get the view in the pane! How can i do?

create dynamic pane with view class in the example, the frame can't get the view

 

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 December 2005 at 3:09am

Hi,

pPane->GetChild() will return CFrameWnd* class

pFrame->GetDescendantWindow(AFX_IDW_PANE_FIRST);
will return CView.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mqheather View Drop Down
Newbie
Newbie


Joined: 01 December 2005
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote mqheather Quote  Post ReplyReply Direct Link To This Post Posted: 06 January 2006 at 4:14am
Thank you
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.