.NET Virtual keys are not working in WM_KEYDOWN event

Report TD 5.x and 6.x bugs and possible workarounds.
a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

.NET Virtual keys are not working in WM_KEYDOWN event

Post by a_sivababu » 07 Jul 2016, 08:42

Hi Support,

WM_KEYUP with virtual keys are working fine in win32 but this is not working in .NET . I tried changing from WM_KEYUP event to WM_KEYDOWN event since WM_KEYUP not supported
in .NET but there is no luck.

Version : TD .NET 6.3 SP1 UPD2

Thanks!
Siva A
You do not have the required permissions to view the files attached to this post.

Mike Vandine

Re: .NET Virtual keys are not working in WM_KEYDOWN event

Post by Mike Vandine » 03 Oct 2016, 05:39

Sorry, Siva. I have no idea about how to reproduce this. Virtual Keys? What do I press on my keyboard?

Sorry for my ignorance.

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: .NET Virtual keys are not working in WM_KEYDOWN event

Post by a_sivababu » 03 Oct 2016, 09:11

Thanks Mike. Well. if you press any of the key from keyboard then WM_KEYUP/WM_KEYDOWN should fire and relevant code for that Virtual key should fire.

For eg, In this example, you choose any value in the combobox and press the "DEL" key. this should fire the delete message.

Thanks
Siva A

Mike Vandine

Re: .NET Virtual keys are not working in WM_KEYDOWN event

Post by Mike Vandine » 04 Oct 2016, 03:58

Hi Siva,

I see the following:

.NET
Tab - Displays Cancel
Backspace - Displays rightbutton
Enter - No action
Delete - deletes the entry in the datafield

WS32
Tab - no action
Backspace - Displays backspace
Enter - No action
Delete - displays delete then deletes the entry in the datafield

Is that what you are seeing? Looks like some sort of bug to me.

Best regards,

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: .NET Virtual keys are not working in WM_KEYDOWN event

Post by a_sivababu » 04 Oct 2016, 05:03

Thanks Mike. That's right. The virtual keys are not working as we expected. It fires wrong key or no action.

Let me install TD 6.3 SP2 UPD 1 as the DEL key was also not working as expected.

Thanks!
Siva A

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 2 guests