摘要: Managed DirectX中创建了一个键盘的DirectInput device,然后SetCooperativeLevel(),为什么CooperativeLevelFlags的值只能取CooperativeLevelFlags.Background | CooperativeLevelFlags.NonExclusive,这样,无论窗口有没有焦点程序都能捕获到键盘行为。如果取了Cooper... 阅读全文
posted @ 2007-07-25 17:33 绿蚂蚁 阅读(441) 评论(2) 推荐(0) 编辑