CXTPPropertyGridItemColor edit notifications |
Post Reply |
Author | |
Silvery
Groupie Joined: 21 September 2007 Status: Offline Points: 11 |
Post Options
Thanks(0)
Posted: 21 September 2007 at 4:32am |
When CXTPPropertyGridItemColor is used with xtpGridItemColorPopup editor style; XTP_PGN_REQUESTEDIT notification is sent before the popup is shown but neither XTP_PGN_CANCELEDIT nor XTP_PGN_AFTEREDIT are sent after the popup is closed.
|
|
Silvery
Groupie Joined: 21 September 2007 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
The problem is observed in version 11.2
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Thanks, good point.
Please replace OnWndMsg method in XTPPropertyGridItemColor.cpp
BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{ if (message == CPN_XT_SELENDOK) { CString strValue = m_pItem->RGBToString((COLORREF)wParam); if (m_pItem->OnAfterEdit(strValue)) { m_pItem->OnValueChanged(strValue); } *pResult = 0; return TRUE; } if (message == CPN_XT_SELENDCANCEL) { m_pItem->OnCancelEdit(); } return CXTColorPopup::OnWndMsg(message, wParam, lParam, pResult);\ } |
|
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 |