![]() |
How to close a tabbed document? |
Post Reply
|
| Author | |
freehawk
Groupie
Joined: 22 April 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
Quote Reply
Topic: How to close a tabbed document?Posted: 15 September 2005 at 5:53am |
|
Hello Please help me how to close a tabbed document? Thanks. -Freehawk |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2005 at 6:06am |
|
Hi, if you want simply close child frame: pChildFrame->CloseWindow()
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Warren
Groupie
Joined: 23 February 2005 Status: Offline Points: 64 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2005 at 2:47pm |
|
I was looking at this issue too.
pChildFrame->CloseWindow() didn't work for me (it seemed to minimize the window into one of those floating "minimized-box" windows) What I used was: GetParent()->PostMessage(WM_CLOSE); I called this from my message handler in my CXTPReportView-derived class (the view is in a tab) Warren |
|
![]() |
|
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 |