Hi,
I am using the .Net TabControl in a Windows Mobile 6.5.3 application running on an EP10. My issue is that the user has the ability to go from one tab page to the next simply by touching and dragging the screen. I need to prevent the user from doing this as the tab page access is controled through different access levels.
Is there a way to prevent this "feature" or is this something that is built in to Windows Mobile 6.5?
Hi Wahid.
Windows Embedded Handheld contains "features" for "Finger-based" user input.
This is a Microsoft development issue rather than a Psion one, but here is a good workaround point:
http://social.msdn.microsoft.com/Forums/en-AU/netfxcompact/thread/01f15175-f13a-45f2-8560-4f3bc67c29dc
-sean
Sean M. Kennedy {Americas Help Desk Application Support}
Wahid,
Alternatively, feel free to subclass the form procedure to capture all WM_Gesture messages (and discard/override them).
Regards,Jacques
ROFL.
WM_Gesture... Sorry my Mind just went to places where these things should not...
<Programmatical Humour>
If WM_Gesture.Intercept.Wipe = True Then
MsgBox("Toilet Humour Not Allowed!!!")
ElseIf WM_Gesture.Intercept.Swipe = True Then
MsgBox("Dora the Explorer Says","SWIPER! NO SWIPING!!!")
Else
'do nothing
End If
</Programmatical Humour>
Hi Jacques,
Can you give me a bit more info on how to do this in .net
Thanks
Have you tried p/Invoking the SetWindowLong function with GWL_WNDPROC parameter to change the message loop in the tab control?
E.g.How to: Use a Class for Hooking Windows Procedures
Me again, as I just came across a post, which comes with a Visual Studio 2008 project, that looks promissing:
Touch Gestures: Windows Mobile C#.NET CF
Good luck!