the drag meathed

When I drag a control such as a picture box I get a gray box that represents the box as I drag it. How do I delete it? I don't want it to show. Thanks!
LVL 1
xer_softAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AllenC_JrCommented:
Well,

I have a suggestion, it may (*not*) be what you are looking for but it may help you out a little...

You could simulate the drag yourself.  It would eliminate the box all together.  Getting rid of the box?  I don't think it is possible any other way, unless you want to do some heavy API(my guess).

-Linguar
0
mcriderCommented:
Well, you could set the DragIcon property to an ICO file that contains an arrow or some other icon you want to use when draging...


Cheers!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
xer_softAuthor Commented:
Both of these ideas are great! I will be using the dragicon property though. If I use a blank icon... Thanks for the great help!!!!!
0
mcriderCommented:
Just remember, if you use a "blank" icon, the pointer will disappear while draging...  I would use an arrow...


Cheers!
0
AllenC_JrCommented:
*DOH*
Well, that's true, I did forget about that (don't use the drag method too often, it doesn't come in handy all that often)...

-Linguar
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.