Print Page | Close Window

Is this a CXTPMDiframeWnd bug?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6110
Printed Date: 05 February 2025 at 12:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is this a CXTPMDiframeWnd bug?
Posted By: zjroland
Subject: Is this a CXTPMDiframeWnd bug?
Date 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?




Replies:
Posted By: Oleg
Date 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


Posted By: zjroland
Date 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


Posted By: Oleg
Date Posted: 14 January 2007 at 9:28am
???
put handler to CEditControlView for example.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net