Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[wxMSW 2.8.9] Problems with WXK_DELETE and WXK_NUMPAD_DELETE

8 views
Skip to first unread message

Angelo Paolitto

unread,
Jun 8, 2009, 11:07:07 AM6/8/09
to
Hi all,

I'm trying to catch WXK_DELETE and WXK_NUMPAD_DELETE keypress
events when they happen "inside" a wxComboBox.

I wrote an event handler called by EVT_CHAR(), but

switch(pEvent.m_keyCode)
{
case WXK_BACK :
case WXK_DELETE :
case WXK_NUMPAD_DELETE : deleteProc();
break;
...

}

is execute only if key is backspace.

Can anyone explain me how to catch WXK_DELETE and WXK_NUMPAD_DELETE
events?

Thanks all.

0 new messages