Print Page | Close Window

[SOLVED] CXTPTabControl inside CXTPTabControl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=18166
Printed Date: 23 November 2024 at 7:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] CXTPTabControl inside CXTPTabControl
Posted By: mgampi
Subject: [SOLVED] CXTPTabControl inside CXTPTabControl
Date 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 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



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


Posted By: mgampi
Date 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 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


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


Posted By: mgampi
Date Posted: 08 April 2011 at 3:47am
Thanks Oleg;

Your suggestion works!


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



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