[SOLVED] CXTPTabControl inside CXTPTabControl |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Maybe you subclassed it from STATIC and don't set SS_NOTIFY style ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
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 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |