Change cursor state in Powerpoint Addin

D

DavidH&P

Hi,
I'm using PowerPoint 2007 and VSTO 2005 SE.
I would like to change the cursor state from my code.

Is it possible ?

David
 
S

Steve Rindsberg

DavidH&P said:
Hi,
I'm using PowerPoint 2007 and VSTO 2005 SE.
I would like to change the cursor state from my code.

Is it possible ?

In forms, yes, but for the application, not that I know of.

The Win API may provide some way of setting the cursor for a particular window
though. That'd be worth looking into.
 
D

DavidH&P

You pointed me to an other solution, and I just use that now:

try
{
Cursor.Current = Cursors.WaitCursor;

//my code
}
finally
{
Cursor.Current = Cursors.Default;
}

thanks for your idea !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top