Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - AutoColumnSizing and fixed size columns
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

AutoColumnSizing and fixed size columns

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: AutoColumnSizing and fixed size columns
    Posted: 29 August 2007 at 4:19pm
Hi;
I created a report control with several columns. The first two columns are of fixed size (EnableResize(FALSE)), the others are sizeable. The whole control  has the AutoColumnSizing attribute set.
When resizing the whole control - contained in a splitter pane - also the fixed columns are sized.
So does anyone know how to prevent this unwanted resizing?
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 25 September 2007 at 2:11pm

Hi,
I found the solution - I didn't notice the additional parameters for constructing CXTPreportColumn objects. Setting the bAutoSize parameter in the constructor of CXTPReportColumn to FALSE for fixed columns is all I had to to...

Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
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.109 seconds.