Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - All Items Selected in pull down menu
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

All Items Selected in pull down menu

 Post Reply Post Reply
Author
Message
byteman View Drop Down
Groupie
Groupie
Avatar

Joined: 08 March 2007
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote byteman Quote  Post ReplyReply Direct Link To This Post Topic: All Items Selected in pull down menu
    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.

Back to Top
byteman View Drop Down
Groupie
Groupie
Avatar

Joined: 08 March 2007
Location: United States
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote byteman Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2020 at 1:07pm
I was told this a known issues and will be resolved in TKP 19.3
Back to Top
DiZSl View Drop Down
Groupie
Groupie


Joined: 08 August 2020
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote DiZSl Quote  Post ReplyReply Direct Link To This Post 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)


Back to Top
docontrol View Drop Down
Groupie
Groupie


Joined: 07 December 2009
Location: Denmark
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote docontrol Quote  Post ReplyReply Direct Link To This Post 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.
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.