Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2006

Tip: Looking for answers? Try searching our database.

Cursor on ListView

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vinit - 25 Feb 2006 00:41 GMT
Hi

I have a form in which there is a treeview alongside a listview. Now I
have certain conditions when the Listview control is disabled. When
this happens I would want the Cursor to be of type "NO" only when the
mouse is over the ListView. It should be default over the other
controls on the form.
I have tried many things but nothing seems to work. I am able to set
the Cursor to No when the Listview is disabled ...but the cursor does
not change to default if I leave the Listview control... The mouse
events dont seem to help either.
Next I tried using the Cursor.draw(graphics, rectangle) method with the

rectangle being the size of the Listview control. I thought this would
limit the No cursor only within this rectangle. But Nope did not work!
Even if i change the cursor property to anything else from the designer

for the listview or even the form..it doesnt seem to work...

what am i missing??????? appreciate all responses

Thanks,
Vinit
AHadiA@gmail.com - 25 Feb 2006 05:51 GMT
Hi
Maybe I am wrong, but I think you can control any events of a control
that is disabled.
So you can set the Cursor and other things of a disabled control.

Hope it helps you
A.Hadi
AHadiA@gmail.com - 25 Feb 2006 08:07 GMT
I'm sorry
replace Can  --- > Can not
in my previous post

A.Hadi

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.