how to generate pane dynamically |
Post Reply |
Author | |
yangyanhui
Senior Member Joined: 20 August 2020 Status: Offline Points: 131 |
Post Options
Thanks(0)
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?
thanks liuyi
|
|
markr
Senior Member Joined: 01 August 2004 Status: Offline Points: 443 |
Post Options
Thanks(0)
|
Recommend reviewing the DynamicPanes sample source code.
|
|
yangyanhui
Senior Member Joined: 20 August 2020 Status: Offline Points: 131 |
Post Options
Thanks(0)
|
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
|
|
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 |