Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - ReportCtrl with Pane background oddity
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ReportCtrl with Pane background oddity

 Post Reply Post Reply
Author
Message
shares View Drop Down
Groupie
Groupie


Joined: 14 March 2008
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote shares Quote  Post ReplyReply Direct Link To This Post Topic: ReportCtrl with Pane background oddity
    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

Thanks
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: 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
Back to Top
shares View Drop Down
Groupie
Groupie


Joined: 14 March 2008
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote shares Quote  Post ReplyReply Direct Link To This Post 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
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: 22 March 2008 at 2:44am
Hi,
No, it always rolls off after small delay.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.297 seconds.