468,107 Members | 1,395 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,107 developers. It's quick & easy.

Problem changing Cursor property in a ListView control

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
Nov 16 '05 #1
1 2311
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?
Best regards,
Riccardo
.

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by ilPostino | last post: by
2 posts views Thread by Craig | last post: by
7 posts views Thread by David Schwartz | last post: by
2 posts views Thread by Just Me | last post: by
18 posts views Thread by **Developer** | last post: by
1 post views Thread by Vinit | last post: by
12 posts views Thread by garyusenet | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.