![]() |
CPropertyGridItemBool bug |
Post Reply
|
| Author | |
tmolander
Newbie
Joined: 11 April 2006 Location: Finland Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: CPropertyGridItemBool bugPosted: 05 May 2006 at 4:37am |
|
What happens if Bool item has a child or children and you try to check/uncheck the check box (SetCheckBoxStyle(TRUE) has been called for the item)? Item is expanded and check box is not selected! Here's why: BOOL CXTPPropertyGridItemBool::OnKeyDown (UINT nChar) BOOL CXTPPropertyGridItemBool::OnLButtonDown(UINT nFlags, CPoint point) if (m_bCheckBoxStyle) if (rc.PtInRect(point) && !GetReadOnly()) return TRUE; OnLButtonDblClk() is called but value is not changed! Fix? Thanks.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 May 2006 at 9:06am |
|
Hello, It was already fixed in 10.1 release. Was added parameters to OnLButtonDblClk: BOOL CXTPPropertyGridItemBool::OnKeyDown (UINT nChar) return TRUE; void CXTPPropertyGridItemBool::OnLButtonDblClk(UINT nFlags, CPoint point) etc. |
|
|
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 |