PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework How to show the wait cursor?

Reply

How to show the wait cursor?

 
Thread Tools Rate Thread
Old 16-01-2006, 08:56 PM   #1
SammyBar
Guest
 
Posts: n/a
Default How to show the wait cursor?


Hi,

How to show the wait cursor? From the VS2005 documentation it is supposed
the Application class has the UseWaitCursor property. But it looks like this
property is not enabled on the compact framework.
I tryed the code from
http://www.c-sharpcorner.com/Code/2...sInPocketPC.asp
[DllImport("coredll.dll")] private static extern int LoadCursor(int
zeroValue, int cursorID);

[DllImport("coredll.dll")] private static extern int SetCursor(int
cursorHandle);

but VS2005 says syntax is wrong on the above code.
What else can I do?

Thanks in advance
Sammy


  Reply With Quote
Old 16-01-2006, 09:14 PM   #2
Daniel Moth
Guest
 
Posts: n/a
Default Re: How to show the wait cursor?

http://wiki.opennetcf.org/ow.asp?Co...AQ%2FWaitCursor

Cheers
Daniel
--
http://www.danielmoth.com/Blog/

"SammyBar" <sammybar@gmail.com> wrote in message
news:uK98O8tGGHA.1628@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> How to show the wait cursor? From the VS2005 documentation it is supposed
> the Application class has the UseWaitCursor property. But it looks like
> this property is not enabled on the compact framework.
> I tryed the code from
> http://www.c-sharpcorner.com/Code/2...sInPocketPC.asp
> [DllImport("coredll.dll")] private static extern int LoadCursor(int
> zeroValue, int cursorID);
>
> [DllImport("coredll.dll")] private static extern int SetCursor(int
> cursorHandle);
>
> but VS2005 says syntax is wrong on the above code.
> What else can I do?
>
> Thanks in advance
> Sammy
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off