Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Bug in CListCtrl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug in CListCtrl

 Post Reply Post Reply
Author
Message
angelsoriasanagustin View Drop Down
Groupie
Groupie


Joined: 16 September 2015
Location: Spain
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote angelsoriasanagustin Quote  Post ReplyReply Direct Link To This Post Topic: Bug in CListCtrl
    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.
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.125 seconds.