tablet pc lag

when i hover the mouse over my inkapp it lags/stutters for several seconds then moves smoothly. all is well until the pen is moved away from the screen then broght back down...several more seconds of lagging and stuttering...i've read that this is due to event coalescing (or lack there of) when the pen is near the screen...is this true and is there a way to prevent it from happening when the pen is lifted? if not what could be causing it?

also i have the form laid out so that i has several tabs each with a few dozen inkedits on them..is there any way to speed up the rending/loading of the inkedits? it takes 15-20 seconds to load a template but im not sure if this is just inherent to inkedits and whatever resources they take up.

Thanks,

Dan

[780 byte] By [DRoden] at [2008-2-17]
# 1

Hi Dan:

It's difficult to say why you're seeing the lag on mouse hover. I have not heard about the issue of even coalescing. Could you explain more?

InkEdit controls do use a lot of resources. Have you tried using just a single InkEdit control? You could try this:

  • Position the InkEdit control over the top of a regular Edit control when it gets focus
  • Switch focus to the InkEdit
  • Collect the ink
  • Get the recognition result and place it in the regular Edit control when focus leaves the InkEdit
  • Reposition the InkEdit over the next control that receives focus

I know this sounds like a lot, but "a few dozen InkEdits" could definitely be causing you some trouble.

Thanks,

Mark Hopkins - MSFT

MarkHopkins-MSFT at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,Notebook, Tablet PC, and UMPC Development...
# 2
that was the problem. way too many inkedits. like you said i just needed to pop an inkedit whenver the mouse is over my controls. thanks!
DRoden at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,Notebook, Tablet PC, and UMPC Development...
# 3

Great!

Mark Hopkins - MSFT

MarkHopkins-MSFT at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,Notebook, Tablet PC, and UMPC Development...

Software Development for Windows Vista

Site Classified