Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CHtmlView + CXTResizeDialog = flicker
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CHtmlView + CXTResizeDialog = flicker

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: CHtmlView + CXTResizeDialog = flicker
    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/
Back to Top
xcentric View Drop Down
Groupie
Groupie


Joined: 04 September 2008
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote xcentric Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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/
Back to Top
Marco1 View Drop Down
Senior Member
Senior Member


Joined: 16 January 2004
Location: Germany
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marco1 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
xcentric View Drop Down
Groupie
Groupie


Joined: 04 September 2008
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote xcentric Quote  Post ReplyReply Direct Link To This Post 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).

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.