开发者

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

开发者 https://www.devze.com 2023-01-20 23:06 出处:网络
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:

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

精彩评论

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