![]() |
Extreme flickering |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() 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?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
What would I do without you? :P
Handling WM_ERASEBKGND solved it (I did not want to derive CXTPReportView in this case). Thanks!
|
|
![]() |
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 |