![]() |
How to derive CWorkspace? |
Post Reply
|
| Author | |
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Topic: How to derive CWorkspace?Posted: 20 July 2005 at 4:08am |
|
I want to override some functions in CWorkspace but since it's protected inner class, how could I derived it? If it can not be derived, what's the purpose of the virtual function? Thanks |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 July 2005 at 11:29am |
|
Hello, I think you right, we added CXTPTabClientWnd::CWorkspace* CXTPTabClientWnd::CreateWorkspace()
so in next version you will be able to override CXTPTabClientWnd and its CreateWorkspace Can you hint us why you need custom CWorkspace?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 July 2005 at 9:08pm |
|
In my current project, I want to override BTW: Why not just make it a public inner class, so we can derive it? Also, if it can not be derived, why you guys make several virtual functions in it? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 July 2005 at 8:03am |
|
Ok, I see now. They are virtual because they override virtual methods of base class. For next version CWorkspace become public class.
|
|
|
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 |