Print Page | Close Window

Extreme flickering

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=11670
Printed Date: 12 December 2024 at 11:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Extreme flickering
Posted By: znakeeye
Subject: Extreme flickering
Date Posted: 31 July 2008 at 3:44am
XTP 12.0.1
 
I have an SDI with two panes and a view. The view has a report control. In the view I resize the report control as follows:
 
void CMyView::OnWindowPosChanged(WINDOWPOS* lpwndpos)
{
     m_report.MoveWindow(0, 0, lpwndpos->cx, lpwndpos->cy);
}
 
When I resize the window at the bottom-right corner, the report control flickers like a mad cow!
 
Why? Has the something to do with the reported flickering problems with the docking panes?



Replies:
Posted By: Oleg
Date Posted: 31 July 2008 at 4:20am

Hi,

You can override CMyView from CXTPReportView.... it already has m_wndReport iniside.
 
Try Catch WM_ERASEBCND and return TRUE.


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


Posted By: znakeeye
Date Posted: 31 July 2008 at 7:11am
What would I do without you? :P
 
Handling WM_ERASEBKGND solved it (I did not want to derive CXTPReportView in this case). Thanks!



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