Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPReportView does not support HScroll
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPReportView does not support HScroll

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


Joined: 03 December 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Johnel Quote  Post ReplyReply Direct Link To This Post Topic: CXTPReportView does not support HScroll
    Posted: 29 January 2008 at 11:04pm

I want use the virtual list just like list ctrl, because it's much faster, but I found CXTPReportView can not support HScroll, I use the following code to force it:

 DWORD dwStyle = ::GetWindowLong( wndReport.m_hWnd, GWL_STYLE );
 dwStyle|=WS_HSCROLL;
 ::SetWindowLong(wndReport,GWL_STYLE,dwStyle);

now, It can use the Hscroll bar to scroll, but I can not resize the coloum, it looks like this, how can I do? 
 
 
 
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 30 January 2008 at 1:25am
Hello,
 
Call
GetReportHeader()->SetAutoColumnSizing(FALSE) instead.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Johnel View Drop Down
Newbie
Newbie


Joined: 03 December 2007
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Johnel Quote  Post ReplyReply Direct Link To This Post Posted: 06 February 2008 at 1:10am

Thanks, it works!

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.