CHtmlView + CXTResizeDialog = flicker |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
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/
|
|
xcentric
Groupie Joined: 04 September 2008 Status: Offline Points: 41 |
Post Options
Thanks(0)
|
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 |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Could be.
I've tried all different tricks, but none worked (e.g. overriding WM_PAINT + WM_ERASEBKGND)...
|
|
PokerMemento - http://www.pokermemento.com/
|
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
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. |
|
xcentric
Groupie Joined: 04 September 2008 Status: Offline Points: 41 |
Post Options
Thanks(0)
|
The problem is such kind of issues appeared in XTP 13.4.2 (at least in my case).
|
|
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 |