How to disable dragging/dropping the Windows desktop icons
Hi, friends,
I want to disable dragging/dropping the Windows desktop icons by a program. How can I do that? (eg. If a user drag an icon and drop it elsewhere, give a warn messagebox).
Also, I want to disable the "New" submenu in the pop-up menu after Right-clicking the mouse on the Windows desktop. How can I do
that by a program?
Highly appreciated!
Re: How to disable dragging/dropping the Windows desktop icons
I'm not too sure about stopping users dragging / utilizing the desktop from a VB program. You can however hide the desktop / taskbar using VB code - just be careful and remember to show it again or you could be in trouble.
See http://codeguru.developer.com/vb/articles/1752.shtml
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
Re: How to disable dragging/dropping the Windows desktop icons
If Visual C++ is more convenient than VB in solving the problem, I would also like to see the answer.
Thanks a lot.