Print Page | Close Window

CHtmlView + CXTResizeDialog = flicker

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=17477
Printed Date: 20 June 2025 at 5:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CHtmlView + CXTResizeDialog = flicker
Posted By: znakeeye
Subject: CHtmlView + CXTResizeDialog = flicker
Date Posted: 24 October 2010 at 9:55am
XTP 13.4.2. Windows 7 x64.
 
I have a CHtmlView inside a CXTResizeDialog.
 
SetResize(IDC_OF_HTML_VIEW, SZ_TOP_LEFT, SZ_BOTTOM_RIGHT);
 
When resizing, the html window flickers like hell (IE8 installed).


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



Replies:
Posted By: xcentric
Date Posted: 24 October 2010 at 12:53pm
I am sure this a "side effect" of the fix for WM_PAINT issue described here:
https://forum.codejock.com/forum_posts.asp?TID=17309&title=docking-pane-ie9-webbrowser-crash



Posted By: znakeeye
Date Posted: 24 October 2010 at 1:31pm
Could be.
 
I've tried all different tricks, but none worked (e.g. overriding WM_PAINT + WM_ERASEBKGND)... Unhappy


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


Posted By: Marco1
Date Posted: 25 October 2010 at 8:10am
Perhaps it's an issue of the CHtmlView itself...
I remember a project I had a similar problem (not with CJ). It ended in a quick workaround by overriding WM_SIZE and to do a resize by a timer only every 200ms.
Not elegant, but it made flicker acceptable while resizing.


-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)


Posted By: xcentric
Date Posted: 25 October 2010 at 8:39am
The problem is such kind of issues appeared in XTP 13.4.2 (at least in my case).




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