Skip to content

Unable to get the extra info in WM_KEYDOWN message in WPF form #5442

@SamBent

Description

@SamBent

[Port of a servicing fix for .NET 4.7-4.8]

Problem description:
Sending WM_KEYDOWN with "extra info" doesn't work. (WM_KEYUP works).

Actual behavior:
WPF discards the extra information before forwarding the WM_KEYDOWN to the app, or raising the PreviewKeyDown event.

Expected behavior:
The extra information is available.

Minimal repro:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions