Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Is this a CXTPMDiframeWnd bug?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Is this a CXTPMDiframeWnd bug?

 Post Reply Post Reply
Author
Message
zjroland View Drop Down
Groupie
Groupie


Joined: 09 December 2006
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote zjroland Quote  Post ReplyReply Direct Link To This Post 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?

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
zjroland View Drop Down
Groupie
Groupie


Joined: 09 December 2006
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote zjroland Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2007 at 9:28am
???
put handler to CEditControlView for example.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.