Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - [SOLVED] CXTPTabControl inside CXTPTabControl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] CXTPTabControl inside CXTPTabControl

 Post Reply Post Reply
Author
Message Reverse Sort Order
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] CXTPTabControl inside CXTPTabControl
    Posted: 08 April 2011 at 3:47am
Thanks Oleg;

Your suggestion works!
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
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: 06 April 2011 at 2:01pm
maybe its reason.. don't subclass standard tabcontrol to CXTPTabControl. better add simple static and check its Notify flag.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 06 April 2011 at 6:32am
Originally posted by oleg oleg wrote:

Hi,

Maybe you subclassed it from STATIC and don't set SS_NOTIFY style ?
Definitely not. In recource I use standard windows tab control.
Using Spy++ I see that the mouse messages are handled by the dialog contained within the base CXTPTabControl.
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
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: 06 April 2011 at 2:45am
Hi,

Maybe you subclassed it from STATIC and don't set SS_NOTIFY style ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 05 April 2011 at 10:00am
Hi;

I try to create a CXTPTabControl that is contained within the client area of the main frame. This CXTPTabControl contains CXTPResizeDialog derived dialogs on each tab (see Screenshot below).



On one of those dialogs I need an additional CXTPTabControl. So far so good. I'm able to create all controls as required, but the tab control contained inside the CXTPResizeDialog never receives any of the mouse messages and also no keyboard messages.
What am I doing wrong? Isn't it possible to create such nested tab control windows?

Any further help is very welcome.
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
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.141 seconds.