![]() |
Is this a CXTPMDiframeWnd bug? |
Post Reply ![]() |
Author | |
zjroland ![]() Groupie ![]() Joined: 09 December 2006 Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() Posted: 13 January 2007 at 8:23pm |
For example, Codejock sample "TabbedView", I add a command at main menu, and if I choose to put the function at TabbedViewView.cpp , then the command is disabled(in menu the command is grey). If I put the function at other place such as MainFrm.cpp or ChildFrm.cpp then the command is OK. Why? |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Because CTabbedViewView never become Active view of CChildFrame. Put handlers in some child view of CTabbedViewView - for example in CEditControlView
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
zjroland ![]() Groupie ![]() Joined: 09 December 2006 Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() |
There are four CFormView :PropertiesView , ClassTreeView ,EditControlView, FileTreeView .
But I don't know how to put handlers in some child view of CTabbedViewView, can you tell me? Thanks
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
???
put handler to CEditControlView for example.
|
|
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 |