Tuesday, March 9, 2010

Customize Touch in Internet Explorer 8

I'm currently working on a project involving a web based system controlled by touch. Internet Explorer 8 will be used for it running in kiosk-mode on one single machine.

A problem I ran into was that IE8 has some new clever feature that opens links in a new tab if they are dragged a few pixels using touch. Flicks I think they call it. This caused pages to be accidentally open in tabs if the user didn't touch the screen right.

Nowhere on the Internet could I find any way to disable this feature. So I started digging in the Windows registry. There I found the following key:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Touch

That only contained one value, FlickEducatorInfo, which wasn't what I was looking for.

So I searching for the reg-key on Google and found two results, both some forum posts in French. There some user had dropped a lot of info from Hijack This or some similar tool. I searched for "Touch" on the page and found the same key as above but it had an additional value:

"TouchDragBuffer"= 0x0000000007 (7)

Changed that to:
"TouchDragBuffer"= 0x0000001000 (4096)

Worked perfectly! Now the user that can't point straight needs to drag the link more than a screen-length away before a new tab is opened.

Would be nice if there were touch settings in Internet Explorer though. Maybe IE9?