(VB6) Making drag and drop less sensitive
Posted on 2003-03-27
I have an application which has a treeview and a file list box on it. I have enabled OLE drag and drop between the two so I can move files around in the box, and drag folders willy nilly from place to place, thereby rearranging the collection of folders displayed.
My problem is that my drag and drop operations are extremely sensitive, sometimes to the point that when I click on a folder name, if my mouse continues to move past the folder I've just selected, it assumes I've started a drag operation, when that wasn't what I meant to do.
What I'd like is a way to pause the code that checks the mouse button state for about a half a second before it performs the check on the mouse button state.
It seems to me that there's a pause command I can insert into the code, but I can't seem to find it documented anywhere, and I'm probably having a brain cramp. But my cramp is worth 50 points, so comment away.