Typo in samples with ODA_SELECT |
Post Reply |
Author | |
CGrant
Newbie Joined: 30 May 2005 Location: United Kingdom Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 01 June 2005 at 7:18pm |
The Property grid samples DelphiGridPage.cpp and SimpleGridPage.cpp have a mistake in their owner draw code; where the test should be seeing if the ODA_SELECT bit is set, it sets it instead.
I suggest either replacing the '|' with '&', or remove that part of the condition. The same code is in all the ODA_SELECTED examples. Colin |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
You right! Never trust MSDN :) this code was copied from CListBox::DrawItem member sample. :) we will remove this condition part. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |