Problem changing Cursor property in a ListView control

G

Guest

Hi
I would to display a Cursors.WaitCursor on a ListView control, so I tried

listView.Cursor = Cursors.WaitCursor

but it doesn't work at all, I see always the default cursor. The same thing happens if I set the WaitCursor in the properties window. The strange thing is that with other controls, like buttons or the treeview, it does work. The only control for which I can't change the cursor is the ListView: it does not work even if I set the current cursor property with the line

Cursor.Current = Cursors.WaitCursor

Any ideas? Is it a bug of the ListView control? Must I set some other properties of the ListView control to change the cursor

Best regards
Riccardo
 
G

gani

riccardo,

based on this link http://www.google.de/groups?
threadm=bfmk3l%24gla2q%241%40ID-25595.news.uni-
berlin.de , it is a known bug.

HTH,

gani
http://thedeveloperscorner.com.ph

-----Original Message-----
Hi,
I would to display a Cursors.WaitCursor on a ListView control, so I tried:

listView.Cursor = Cursors.WaitCursor;

but it doesn't work at all, I see always the default
cursor. The same thing happens if I set the WaitCursor in
the properties window. The strange thing is that with
other controls, like buttons or the treeview, it does
work. The only control for which I can't change the
cursor is the ListView: it does not work even if I set
the current cursor property with the line:
Cursor.Current = Cursors.WaitCursor;

Any ideas? Is it a bug of the ListView control? Must I
set some other properties of the ListView control to
change the cursor?
 

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