开发者

What is the enum for - (minus/underscore) and = (equal/plus) key in Keys enumeration?

I can't seem to f开发者_运维百科ind them here.

I'm trying to get them include in my hotkey selection dialog.


Checkout Oem*, from the link that you provided:

OemMinus    The OEM minus key on any country/region keyboard (Windows 2000 or later). 
Oemplus     The OEM plus key on any country/region keyboard (Windows 2000 or later). 

You can have something like:

if (keyData == (Keys.Control | Keys.OemMinus) ) ZoomOutOrSomething();//


Would OemMinus and OemPlus work for you?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜