Print Page | Close Window

CXTPReportView does not support HScroll

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=9440
Printed Date: 14 November 2025 at 12:29pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPReportView does not support HScroll
Posted By: Johnel
Subject: CXTPReportView does not support HScroll
Date 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? 
 
 
 



Replies:
Posted By: Oleg
Date Posted: 30 January 2008 at 1:25am
Hello,
 
Call
GetReportHeader()->SetAutoColumnSizing(FALSE) instead.


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


Posted By: Johnel
Date Posted: 06 February 2008 at 1:10am

Thanks, it works!




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