471,317 Members | 2,596 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

ProcessDialogKey keyData == (Key.Control | Key.Shift | Key.L) is no longer trapped

keyData == (Keys.Control | Keys.Shift | Keys.L) used to trap this
combination in the ProcessDialogKey method
Why does this combination no longer work?
Jan 29 '06 #1
2 4897
Hi Wally,
the ProcessDialogKey method is used to handle the Return and Escape keys
in a dialog window. The Microsoft documentation states that this method will
not handle any processing for ALT or CTRL modifiers. You should put your key
processing inside the ProcessCmdKey method instead.

To your question I don't know if it worked in 1.1 (I only currently have
2.0 installed) but the 1.1 documentation looks the same as the 2.0
documentation and I doubt Microsoft would have made a breaking change like
that to the semantics of an existing function.

Hope that helps
Mark Dawson
http://www.markdawson.org.

"Wally Highsmith" wrote:
keyData == (Keys.Control | Keys.Shift | Keys.L) used to trap this
combination in the ProcessDialogKey method
Why does this combination no longer work?

Jan 30 '06 #2
> documentation and I doubt Microsoft would have made a breaking change like
that to the semantics of an existing function.


unfortunately, we had such breaking changes in the past so there's nothing
to doubt.

Wiktor Zychla

Jan 30 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Jim | last post: by
1 post views Thread by Paul | last post: by
2 posts views Thread by Alberto | last post: by
7 posts views Thread by Csaba Gabor | last post: by
reply views Thread by Martijn Mulder | last post: by
2 posts views Thread by Dean Slindee | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.