D
Diane G.
Does anyone know how to get the tap and hold cursor to appear?
Tim Wilson said:What you added was already there. The declaration for the GetCapture API is
in the region block marked "Native" in the TapAndHoldControl.cs file. This
should work just by running the solution - no changes necessary. Did you run
into a problem?
--
Tim Wilson
Windows Embedded MVP
Mark McKnight said:This worked perfect for .NET CF! Thanks! The only change I had to make
was to add the following lines at the beginning to make it work for .NET CF:
[DllImport("coredll")]
extern static IntPtr GetCapture();
Tim Wilson said:Open the solution in the attached zip file and run the application to see
manual tap and hold in action. The code for the custom control is in the
TapAndHoldControl.cs file - this is where the call to the appropriate API
takes place.
--
Tim Wilson
Windows Embedded MVP
Yes, I do mean the red circles, but I am running a C# program on ..net
compact. The only cursors available are Default and WaitCursor.