|
From: Vikky on 5 May 2008 09:41 Hi, I need to disable/enable the touch screen for my application. The API TouchPanelDisable () disable works fine, but when I call BOOL TouchPanelEnable(PFN_TOUCH_PANEL_CALLBACK) with NULL paramter, nothing happens. I have to restart the device to enable the touch screen. Can anyone please tell me how to enable the touch screen without restarting? Or am I missing something here?
From: Chris Tacke, eMVP on 5 May 2008 11:42 Of course, it needs that callback. Telling it to call NULL when it gets interrupts would lead to an expected behavior of nothing. These APIs are really for use by the TP driver itself, not an application. You shouldn't be calling from from anywhere else (like an app). -- Chris Tacke, Embedded MVP OpenNETCF Consulting Giving back to the embedded community http://community.OpenNETCF.com "Vikky" <Vikky(a)discussions.microsoft.com> wrote in message news:CAF15EF3-2924-4A5F-982F-3A4BCD74736D(a)microsoft.com... > Hi, > I need to disable/enable the touch screen for my application. The API > TouchPanelDisable () disable works fine, but when I call BOOL > TouchPanelEnable(PFN_TOUCH_PANEL_CALLBACK) with NULL paramter, nothing > happens. I have to restart the device to enable the touch screen. Can > anyone > please tell me how to enable the touch screen without restarting? Or am I > missing something here?
|
Pages: 1 Prev: Windows Pocket & getch Next: How to reset the GPS receiver? |