Print Page | Close Window

CXTPTabClientWnd

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=5386
Printed Date: 11 November 2025 at 4:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPTabClientWnd
Posted By: kelvincannon
Subject: CXTPTabClientWnd
Date Posted: 30 October 2006 at 11:49am
My program has 3 MDI child windows and I have tried changing from one tab to another tab by calling the following:

pMainFrame->MDIActivate(pMDIChildFrame3); //This is going from tab 1 to 3

It works ok except my OnMDIActivate override is not being called. My OnMDIActivate override gets called ok when I select a tab using the mouse pointer. Is this a bug in the toolkit or is there a better way to swap tabs.

Thanks
kelvin




Replies:
Posted By: Oleg
Date Posted: 30 October 2006 at 2:32pm
Hello,
 
It is OS thing. Same if you call SetCurSel for TabCtrl   notification will not send. So you can manyally call method you need after you call MDIActivate.


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


Posted By: kelvincannon
Date Posted: 30 October 2006 at 5:28pm
Ok thanks

Kelvin




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