Print Page | Close Window

DockingPane with CHtmlView

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=16620
Printed Date: 31 January 2025 at 4:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DockingPane with CHtmlView
Posted By: HendSameer
Subject: DockingPane with CHtmlView
Date 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,



Replies:
Posted By: mgampi
Date 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



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