MDI Docking Panes flickering in resizing |
Post Reply |
Author | |
flxrz
Newbie Joined: 30 October 2005 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 24 November 2005 at 11:01am |
Hello everyone: I am developing an application based on MFC "CMDIChildWnd" classes. I have inserted a "CXTPDockingPaneManager" in every child window and some docking panes which "CFormViews" attached on them. The problem comes when I try to resize the CMDIChildWnd dragging it with the mouse: all the controls in the CFormsViews begin flickering while the OnSize process goes on. This gives the application a horrible final aspect and a non-professional style. Is there any way to fix this in an easy way? Thank you very much. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, Add WS_CLIPCHILDREN|WS_CLIPSIBLINGDS to CMDIChildWnd, its View, Attached Form. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
flxrz
Newbie Joined: 30 October 2005 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Thank you for answer me so far, Oleg. Your solution works fine with dockink panesī flickering when the user hides or shows those panes, but I am resizing the child windows. The flickering persists during the child window resize process or even during the application resize, but NOT if I move the application dragging it around the screen. I have all my docking panes attached on the view as a tabbed window. In Toolkitīs 9.7 samples this also happens, but due to the small amount of controls in the CFormView is almost imperceptible. Thanks. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi 2005-11-27_052246_ChildFrame.zip See sample. Main code is: int CProperttiesView::OnCreate(LPCREATESTRUCT lpCreateStruct) void CProperttiesView::OnInitialUpdate() |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
flxrz
Newbie Joined: 30 October 2005 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Thank you again, Oleg. The sample attached has been very useful for me. Almost everything is now OK in my "CFormViews", but the MFCīs Group Boxes and Month Calendar Controls still flicker. Can you help me with this or itīs a MFC bug? Best regards. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
yes, it is not MFC, but OS thing.
can suggest you try subclass group boxes to CXTResizeGroupBox class.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
just checked - flicker anyway :( To avoid some drawing (not flicker problems) also in properties of Group Box check "Tranparent" property... |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
flxrz
Newbie Joined: 30 October 2005 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Thank you, Oleg. Your are giving me great support with this subject. "CXTResizeGroupBox" works terrific and almost everything is now OK, but the problem with CMonthCalendarCtrl, CSliderCtrl and some others persist. All them flicker (it would better say they flash!!!) yet and itīs kind of annoying. Regards and congratulations for this forumīs support. |
|
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 |