Print Page | Close Window

All Items Selected in pull down menu

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=24026
Printed Date: 22 December 2024 at 6:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: All Items Selected in pull down menu
Posted By: byteman
Subject: All Items Selected in pull down menu
Date Posted: 26 July 2020 at 1:37pm
The problem appeared in our app after updating to 19.2 and is reproducible in the CodeJock sample app: ...\Samples\PropertyGrid\GridSample (see attached screenshot). No changes were made in the sample code

The pulldown menu control works fine it's just the highlighting is broken.




Replies:
Posted By: byteman
Date Posted: 27 July 2020 at 1:07pm
I was told this a known issues and will be resolved in TKP 19.3


Posted By: DiZSl
Date Posted: 08 August 2020 at 2:50am
My fix:
replace line
BOOL bSelected = ((0 != lpDrawItemStruct->itemState) & ODS_SELECTED);
to
BOOL bSelected = (0 != (lpDrawItemStruct->itemState & ODS_SELECTED));
in function
void CXTPPropertyGridInplaceList::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)




Posted By: docontrol
Date Posted: 18 August 2020 at 2:47am
I had the same issue and was told that there is a bug in 19.2. I was provided with a patch to fix that error and now it looks fine.



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