挂钩了Windows的拖放功能. [英] Hook the drag and drop functionality of windows.....

查看:100
本文介绍了挂钩了Windows的拖放功能.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,所有

我在寻找任何可以帮助我钩住Windows拖放功能的东西时都非常疲倦,但是我无法找到确切的解决方案....

我要做的是在删除文件的名称之前,先在系统中的任何位置检查该文件的名称...然后根据我的要求允许或禁止移动文件...所以我有使一个dll来挂钩由拖放操作生成的事件..

setwineventhook()api有很多东西,但是我无法完全理解它...是否用于挂钩拖动对象时生成的事件?是否有任何接口可以使用此api?这是挂接拖放处理程序的正确方法……就像钩挂复制,粘贴操作一样,还有一个ICopyHook接口.. ???

请告诉我我是否朝着正确的方向行驶,如果不是,请引导我朝正确的方向....

紧急需要帮助..thanx提前.. :)

Sameen.

Hi, all

i am quite tired in searching for any thing that can help me in hooking the drag and drop functionality of the windows, and yet i am unable to find an exact solution....

what i want to do is to check the file''s name before being dropped, anywhere in my system...then allow or disallow the movement of the file according to my requirements...so i have to make a dll to hook the event being generated by the drag and drop opertaion..

there is a lot about setwineventhook() api but i am unable to understand it completely ...whether it is used to hook the event generated while dragging an object???is there any interface to use this api???is this the right way ot hook the drag and drop handler...just like to hook the copy,paste operations there is an ICopyHook interface ..???

plz tell me if i am heading in the right direction aur if not then plz direct me in the right direction....

urgently need a help..thanx in advance..:)

Sameen.

推荐答案

没有人可以帮助我.... [confused] ... plz rply
isn''t there anyone who can help me....[confused]...plz rply


这篇关于挂钩了Windows的拖放功能.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆