Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - refrech bug for autohide panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

refrech bug for autohide panes

 Post Reply Post Reply
Author
Message
dmunoz View Drop Down
Newbie
Newbie


Joined: 18 June 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote dmunoz Quote  Post ReplyReply Direct Link To This Post Topic: refrech bug for autohide panes
    Posted: 26 June 2006 at 8:59am
Hi,

I have a pane that contain a CXTPPropertyGrid. Some action in the CXTPPropertyGrid change the current view (a CXTHtmlView) and force its refresh.

When the pane is in Hideable mode, there is a refresh bug. If I click the tab to open the pane temporarily and change something, the view is refreshed while the pane is not auto-hidden yet, mangling all the pane display.

Is this a known problem ? How could I avoid that ?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2006 at 11:33am
Hi,If you have Sdi application, you have to add WS_CLIPSIBBLINGS|WS_CLIPCHILDREN for MainFrame and View.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
dmunoz View Drop Down
Newbie
Newbie


Joined: 18 June 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote dmunoz Quote  Post ReplyReply Direct Link To This Post Posted: 26 June 2006 at 12:54pm
Thank you for your help Oleg.

I used Toolkit Pro Application Wizard to generate the SDI project, and there is indeed those style added in CMainFrame::PreCreateWindow, but not in the view::PreCreateWindow. Maybe the wizard should have added them too ?

So, adding thoose styles to the view did the trick ! Thanks again.

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.203 seconds.