开发者

oemplus shortcut doesn't fire

开发者 https://www.devze.com 2023-04-12 13:10 出处:网络
I am trying to fire menu shortcut by + button , so I set its shortcut to oemplus but click the + button doesn\'t work, am I miss any thing

I am trying to fire menu shortcut by + button , so I set its shortcut to oemplus

but click the + button doesn't work, am I miss any thing

what's the equivalent to oemplus in the keyb开发者_C百科oard, and what's the equivalent to + in the toolstripmenueItem


for + part I used

 zoomIn_act.ShortcutKeys =  Keys.Add;


Keys.Addmaps to the numpad "+". Keys.Oemplus should map to any use of the "+" sign on the rest of the keyboard. In actuality, in some keyboard layouts, it doesn't register properly and you have to detect the actual keys mapped to it. For example, in the Swiss (German) layout, you need to detect Shift+Keys.D1.

0

精彩评论

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