Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPTabClientWnd
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPTabClientWnd

 Post Reply Post Reply
Author
Message
kelvincannon View Drop Down
Groupie
Groupie
Avatar

Joined: 12 November 2003
Location: United Kingdom
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote kelvincannon Quote  Post ReplyReply Direct Link To This Post Topic: CXTPTabClientWnd
    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

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 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
Back to Top
kelvincannon View Drop Down
Groupie
Groupie
Avatar

Joined: 12 November 2003
Location: United Kingdom
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote kelvincannon Quote  Post ReplyReply Direct Link To This Post Posted: 30 October 2006 at 5:28pm
Ok thanks

Kelvin

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.047 seconds.