Configuring Win7 Touch settings via hwnd

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Configuring Win7 Touch settings via hwnd

Postby stmcpherson » Wed Mar 07, 2012 5:29 pm

I'm trying to set window properties on the browser window as describe in this link (http://stackoverflow.com/questions/2066 ... nger-input)

but am unable to identify what hwnd should get the actual settings.

const DWORD_PTR dwHwndTabletProperty =
TABLET_DISABLE_PRESSANDHOLD | // disables press and hold (right-click) gesture
TABLET_DISABLE_PENTAPFEEDBACK | // disables UI feedback on pen up (waves)
TABLET_DISABLE_PENBARRELFEEDBACK | // disables UI feedback on pen button down (circle)
TABLET_DISABLE_FLICKS; // disables pen flicks (back, forward, drag down, drag up)

SetProp(hwnd, MICROSOFT_TABLETPENSERVICE_PROPERTY, reinterpret_cast<HANDLE>(dwHwndTabletProperty));

any ideas?
stmcpherson
Techie
 
Posts: 32
Joined: Tue Feb 14, 2012 1:48 am

Return to Support Forum

Who is online

Users browsing this forum: Majestic-12 [Bot] and 65 guests

cron