PC Review


Reply
Thread Tools Rate Thread

Changing Mouse Pointer

 
 
=?Utf-8?B?Lk5ldEhlbHBXYW50ZWQ=?=
Guest
Posts: n/a
 
      14th Jul 2004
Hi All,
I need a solution for the following scenario.

I have 2 treeviews and one listview.

the listview is populated with the contents of the treeview clicked.

I have implemeted drag and drop functionality.

When user clicks on treeview1 it's contents are populated in Listview
simillarly when clicked on treeview2 iit's contents are populated in Listview
So at any point of time it will display content from one treeview only.

Now my problem is that.
When an user drags the contents of the listview to the same treeview that populated i should change my mouse cursor to inavlid.

And agin the cursor should become default when it leaves the control.

Basically changing the cursor where appropriate.

TIA



--
..NetHelpWanted
 
Reply With Quote
 
 
 
 
Bob
Guest
Posts: n/a
 
      14th Jul 2004
Try setting the value of e.Effect in the DragEnter/DragLeave events.

HTH,
Bob

".NetHelpWanted" <(E-Mail Removed)> wrote in message
news:1187A3A7-3C07-4504-B1E0-(E-Mail Removed)...
> Hi All,
> I need a solution for the following scenario.
>
> I have 2 treeviews and one listview.
>
> the listview is populated with the contents of the treeview clicked.
>
> I have implemeted drag and drop functionality.
>
> When user clicks on treeview1 it's contents are populated in Listview
> simillarly when clicked on treeview2 iit's contents are populated in

Listview
> So at any point of time it will display content from one treeview only.
>
> Now my problem is that.
> When an user drags the contents of the listview to the same treeview that

populated i should change my mouse cursor to inavlid.
>
> And agin the cursor should become default when it leaves the control.
>
> Basically changing the cursor where appropriate.
>
> TIA
>
>
>
> --
> .NetHelpWanted


 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mouse pointer freezes sporadically, by single left clicking or tapping esc, the mouse pointer is freed up for use only to re-occur within minutes. Banana Windows XP General 2 9th Feb 2006 07:10 AM
mouse pointer freezes sporadically/consistently, by single left clicking or tapping esc, the mouse pointer is freed up for use only to re-occur within minutes. Banana Windows XP Help 1 6th Feb 2006 10:39 PM
Changing the Mouse Pointer automatically Graham Naylor Microsoft Access Form Coding 0 18th Sep 2005 09:21 PM
Disable changing of the mouse pointer Mike Microsoft Windows 2000 0 5th Jun 2004 10:01 PM
Mouse Pointer not changing (C#) R-D-C Microsoft Dot NET Framework Forms 5 20th Oct 2003 05:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:05 PM.