How to get animation for ContextMenu?

  • Thread starter Thread starter Neil Kiser
  • Start date Start date
N

Neil Kiser

I have a control I have developed for which I have a contextmenu. I
would like to employ the same 'circle of red dots' animation that I
see in Pocket Outlook for a tap-and-hold sequence. Is this animation
available on the PPC forother apps to use?

Thanks,
-Neil K.
 
The animation is produced by the call to SHRecognizeGesture API call. Try
P/Invoking it from OnClick override
 
Hi Neil,

which DLL contains SHRecognizeGesture? I've read about aygshell.dll, but
that file does not exist.

Thanks,
Joachim
 
Yes it's in aygshell.dll, this may not be visible on the device since it's
in rom, if you select View All Files in File Explorer you should be able to
view it. You can call SHRecognizeGesture using the P/Invoke details here:-
http://www.pinvoke.net/default.aspx/aygshell.SHRecognizeGesture


Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
Hi Peter,

thanks. That seems to work at least on the Emulator. I'll try it on a
Toshiba device next week.

Joachim
 
Back
Top