![]()  | 
 
Is this a CXTPMDiframeWnd bug? | 
 
    Post Reply  
   | 
  
| Author | |
   
   zjroland  
   
   Groupie  
   Joined: 09 December 2006 Status: Offline Points: 42  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Is this a CXTPMDiframeWnd bug?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  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 14 January 2007 at 3:19am | 
 
| 
   
    
   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  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 14 January 2007 at 5:01am | 
 
| 
   
    
   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  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 14 January 2007 at 9:28am | 
 
| 
   
    
   ???
 
   
  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  |