![]() |
How to save CXTPTabClientWnd state? |
Post Reply ![]() |
Author | |
sion ![]() Newbie ![]() Joined: 19 March 2006 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 24 March 2006 at 11:10am |
HI~
When the application to be closed,How to save CXTPTabClientWnd state. ![]() CXTPTabClientWnd::SaveState()? |
|
![]() |
|
sion ![]() Newbie ![]() Joined: 19 March 2006 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
![]() Help me please~ |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
SaveState saves only positon og Tabs. Where is no way for CXTPTabClientWnd to save/restore actual window childs. You must manually save childs and reopen in startup, CXTPTabClientWnd will automatically create tabs for them. Hint code:
void CMainFrame::OnClose()
CWnd* pMDIClient = CWnd::FromHandle(m_hWndMDIClient); while (pWnd) if (pView) strPopups += pView->GetDocument()->GetCurrentUrl() + ";"; CMDIFrameWnd::OnClose();
void CMainFrame::OpenLastVisited()
|
|
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 |