Print Page | Close Window

how to generate pane dynamically

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
Printed Date: 16 January 2022 at 4:42pm
Software Version: Web Wiz Forums 12.04 -

Topic: how to generate pane dynamically
Posted By: yangyanhui
Subject: how to generate pane dynamically
Date Posted: 01 August 2021 at 9:29pm
Hi,I need to generate panes dynamically. If I need 10 panes,I should create 10 windows.I do not know how much panes I need before.How can I realize it?

Posted By: markr
Date Posted: 02 August 2021 at 9:01pm
Recommend reviewing the DynamicPanes sample source code.

Posted By: yangyanhui
Date Posted: 06 August 2021 at 2:02am
I have reviewed the sample code.The sample code works good. but when I copied the code into my project,when I call GetActiveView(),it returns null.So I fail to create pane.My project is MFC SPI. What may be the problem?thanks.

CView *pView = GetActiveView(); pView is null

Print Page | Close Window

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