Print Page | Close Window

ReportCtrl with Pane background oddity

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=9933
Printed Date: 22 November 2024 at 11:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ReportCtrl with Pane background oddity
Posted By: shares
Subject: ReportCtrl with Pane background oddity
Date Posted: 20 March 2008 at 5:49pm
I use the Toolkit App Wizard to create and SDI app with docking panes. Great.

Now, I change the apps CView to a CXTReportView and add some columns and data.

When the pane slides out, I click on the grid, and the pane gets obliterated before sliding hidden.

I've uploaded the most bare bones application that demonstrates the problem for anyone kind enough to take a look.

uploads/20080320_174708_ReportAndPane.zip - uploads/20080320_174708_ReportAndPane.zip

Thanks



Replies:
Posted By: Oleg
Date Posted: 21 March 2008 at 2:51am
Hi,
Add
 

cs.style |= WS_CLIPCHILDREN|WS_CLIPSIBLINGS;

in BOOL CChildView::PreCreateWindow(CREATESTRUCT& cs)



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: shares
Date Posted: 21 March 2008 at 12:11pm
Wonderful, thank you. I thought for sure I'd tried that.

Anyway, one more thing.

I noticed on some of the sample docking pane apps that the hide timer starts as soon as the mouse rolls off the docking pane. I've not been able to figure out what I need to do in my app to get this behavior.

Thanks again


Posted By: Oleg
Date Posted: 22 March 2008 at 2:44am
Hi,
No, it always rolls off after small delay.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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