Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Report ctrl scrollbars always visible in 16.2
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Report ctrl scrollbars always visible in 16.2

 Post Reply Post Reply
Author
Message
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Topic: Report ctrl scrollbars always visible in 16.2
    Posted: 28 June 2013 at 2:08pm
It seems that in v16.2, the report control scrollbars are always visible - whether they're needed or not.

This is different from v15, and I'm wondering if there's a way to get the old behavior back. I'd like the scrollbars to be appear only when needed.

I worked through the various settings available in the report control sample product, but none of them seemed to affect scrollbar visibility.
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (1) Thanks(1)   Quote markr Quote  Post ReplyReply Direct Link To This Post Posted: 17 July 2013 at 11:19am
It looks like this issue might be specific to CXTPReportView, which was modified between v15 and v16 to always create horizontal/vertical scrollbars during OnCreate().

I can get the old behavior back by setting the scrollbar controls to NULL during OnCreate (after calling CXTPReportView::OnCreate).

SetScrollBarCtrl(NULL, TRUE);
SetScrollBarCtrl(NULL, FALSE);

But I'm not sure if this has any other unintended consequences.

Could someone at CodeJock please comment on why this change was made, and if my "fix" will cause any problems?

Back to Top
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Posted: 01 October 2013 at 3:44am
bump.

I have the same issue. Is this new behaviour in v16 by design or not? 
Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
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.172 seconds.