Print Page | Close Window

CXTListCtrl SetColumnWidth does not work correctly

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Visual C++ MFC
Forum Description: Topics related to Codejock Visual C++ MFC products
URL: http://forum.codejock.com/forum_posts.asp?TID=15789
Printed Date: 21 November 2024 at 3:14pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTListCtrl SetColumnWidth does not work correctly
Posted By: evoX
Subject: CXTListCtrl SetColumnWidth does not work correctly
Date Posted: 06 December 2009 at 9:42pm
CXTListCtrl .SetColumnWidth(nCol, LVSCW_AUTOSIZE_USEHEADER); does not work correctly, it resizes the colum just like AutoSizeColumn().....
instead of setting the width to fit the header it sets the column width to fit contents.
Is this a bug?
 


-------------
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2019)



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