Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - DockingPane with CHtmlView
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

DockingPane with CHtmlView

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


Joined: 01 April 2008
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote HendSameer Quote  Post ReplyReply Direct Link To This Post Topic: DockingPane with CHtmlView
    Posted: 22 April 2010 at 4:49am

Hello,

I use a MDI application with view of type CHtmlView. Using a docking pane with a CTree object. On handling the message of TVN_SELCHANGED the content of the view is changed.
 
The problem is:
when the docking pane is used in auto hide state and changing the selection of the tree, the content of the view is changed correctly actually the view is redrawed but the part of the pane that overlaped with the view disappeared.
 
I tried to redraw the pane using RedrawWindow() with no effect.
 
 
thanx,
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 22 April 2010 at 3:59pm
Hi;

Try to set WS_CLIPSIBLINGS|WS_CLIPCHILDREN to the HTML view and its parents.
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
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.063 seconds.