![]() |
CXTColorPopup sends CPN_XT_SELENDCANCEL twice |
Post Reply
|
| Author | |
Silvery
Groupie
Joined: 21 September 2007 Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTColorPopup sends CPN_XT_SELENDCANCEL twicePosted: 21 September 2007 at 4:40am |
|
Toolkit version 11.2.
If CXTColorPopup is closed by Esc the popup sends CPN_XT_SELENDCANCEL twice. Once from CXTColorPopup::PreTranslateMessage and once from CXTColorSelectorCtrl::OnKeyDown
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 September 2007 at 9:37am |
|
Hello,
Thanks, please modify CXTColorPopup::PreTranslateMessage
method as
if (pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_ESCAPE)
{ EndSelection(-1); return TRUE; } |
|
|
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 |