×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Drag-Drop with treeview control

Drag-Drop with treeview control

Drag-Drop with treeview control

(OP)
I'm using sheridan's treeview control which is supposed to be compatible with the one that comes with VB6. When I expand nodes or click on nodes it was invoking the drag event and moving nodes sometimes if I didn't keep the mouse still. I fixed it with a 500ms timer event which starts in the mouse down event and is checked for in the dragdrop event. If 500ms has not passed no drag is allowed. Is the this the normal/best way to solve this problem? Is the 500ms time what most experienced programmers would use? Do most people have this problem, or is it just me?

RE: Drag-Drop with treeview control

Misled,

Sorry if this is pounding the obvious, but how sensitive are your mouse settings? When I first loaded Win95, I had the same problem in the Windows Explorer, until I used TweakUI (from the PowerToy collection) to change my click/drag ratio.

All well and good, but then I loaded some custom controls for a VB 5.0 app, and had the problem all over again. Reset the mouse click/drag, and got rid of the problem. (Note: this particular instance occurred only in the IDE, not in the compiled product.)

Perhaps not relevant, but worth a think or two?

Make a good day . . .

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close