Print Page | Close Window

Bug in CListCtrl

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=23046
Printed Date: 23 December 2024 at 9:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug in CListCtrl
Posted By: angelsoriasanagustin
Subject: Bug in CListCtrl
Date Posted: 14 June 2016 at 6:02am
Hi.

I'm using ToolkitPro v 17.2 with VisualStudio 2015. Theme is Office2010 Black.

When I try to put the small sort arrow in a CListCtrl control header with this:

HDITEM hditem = {0};
hditem.mask = HDI_FORMAT;
VERIFY( GetHeaderCtrl()->GetItem( 0, &hditem ) );
hditem.fmt &= ~(HDF_SORTDOWN|HDF_SORTUP);
hditem.fmt |= HDF_SORTDOWN;
VERIFY( CListCtrl::GetHeaderCtrl()->SetItem( 0, &hditem ) );

The program hangs in debug mode. In release mode runs, but no arrow is shown.

Without the use of ToolkitPro works fine.

Can you test it ?

Thanks.



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