禁用硬件“主页按钮"在HTC触摸拨盘上 [英] Disable Hardware "Home Button" On HTC Touch Dial
问题描述
我正在HTC touch 2 Dual(WM 6.5)一个独立的.Net应用程序上进行编程.无论如何(通过注册表或C#以编程方式)是否有阻止/禁用使我的应用程序消失的硬件按钮HOME的操作?
我测试了:
-onKeyUp事件e keyPreview = TRUE
-键盘挂钩
并且我设法禁用了所有其他按钮(音量,Windows按钮等),但是我无法禁用首页"按钮和暂停"按钮.
非常感谢所有有用的建议,
Fran
Hi, I''m programming on HTC touch 2 Dual ( WM 6.5) a standalone .Net application. Is there anyway (via registry or programmatically, C#) to block/disable the action of the hardware button HOME that make go out my app?
I tested:
- onKeyUp event e keyPreview = TRUE
- keyboard hooking
and I managed to disable all the other buttons (volume, windows button, etc.) but I couldn''t disable the HOME BUTTON and the suspension button.
Thanks very much in advance for all the useful suggestions,
Fran
推荐答案
据我所知.这就像试图在PC上阻止Ctrl-Alt-Del一样.你做不到.
Not as far as I can tell. It''s like trying to block Ctrl-Alt-Del on a PC. You can''t do it.
这篇关于禁用硬件“主页按钮"在HTC触摸拨盘上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!