Print Page | Close Window

How disable auto-size in ReportControl

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=1258
Printed Date: 06 November 2025 at 4:34pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How disable auto-size in ReportControl
Posted By: dennisV
Subject: How disable auto-size in ReportControl
Date Posted: 10 October 2004 at 5:50pm

Hi,

How can I disable the auto-resizing of columns in a ReportControl? I want them to be a certain size and I want the control to have a scroll bar if it's bigger than the window. I couldn't find a function that does this, but I know it's there



-------------
// W7 64 Ultimate SP1
// VS 2008
// CodeJock 16.2.3 (MFC)



Replies:
Posted By: dennisV
Date Posted: 10 October 2004 at 5:54pm

Found it a few minutes later

GetReportHeader()->SetAutoColumnSizing(FALSE);



-------------
// W7 64 Ultimate SP1
// VS 2008
// CodeJock 16.2.3 (MFC)



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