Print Page | Close Window

disappearing controls

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=13067
Printed Date: 23 June 2025 at 10:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: disappearing controls
Posted By: fakusz
Subject: disappearing controls
Date Posted: 05 January 2009 at 5:07am
Hi,

I created a dialog based program, and I use two CXTPDockingPanes on it.
The problem is, that if the docking pane is focused, by pressing a keyboard button (for example the Enter or Esc), all controls disappear from the pane, and only from the focused pane
After I minimize the program and restore, the controls are visible again

Can anybody has a suggestion for this problem?

I am using Codejock Toolikt Pro for Visual C++ MFC version 12.0.2 under XP with Visual Studio 2008

thanks,
fakusz



Replies:
Posted By: Oleg
Date Posted: 05 January 2009 at 5:51am

Hi,

Can be Clip styles issue. Add WS_CLIPCHILDREN|WS_CLIPSIBLINGS style for Dialog and Panes.


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


Posted By: znakeeye
Date Posted: 05 January 2009 at 6:28am
Not quite.
 
You need to override OnOK() and OnCancel() and NOT call the base-class! The best thing to do is to create a CDialogPane-class with these modifications.


-------------
PokerMemento - http://www.pokermemento.com/


Posted By: fakusz
Date Posted: 06 January 2009 at 8:19am
the second solution works
the class that is registered (showed) in the pane is a descendant of the CXTPResizeDialog

thank you,
fakusz



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