google-code-export / ulipad

Automatically exported from code.google.com/p/ulipad
0 stars 0 forks source link

使用拖放打开文件补丁 #241

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
自带的 dropfile 插件打开 lnk 链接文件会出错,
另外,只有拖到主窗口的菜单、工具栏才能打开文件

应用这个补丁后能正确打开链接文件,在编辑窗口也能使用��
�放打开文件

现在问题:
   文件名标签那一行不知道是哪个窗口,没修改到

Original issue reported on code.google.com by windwiny...@gmail.com on 1 May 2010 at 11:06

Attachments:

GoogleCodeExporter commented 9 years ago
有没有试过文本的拖动是否还有效?

Original comment by limo...@gmail.com on 1 May 2010 at 12:56

GoogleCodeExporter commented 9 years ago
试了一下,果然不行了。

Original comment by limo...@gmail.com on 1 May 2010 at 1:15

GoogleCodeExporter commented 9 years ago
呵呵,果然是。

一开始就误入歧途了,还使用droptarget来设置, 
要改好多地方

直接在主窗口上拦截 EVT_DROP_FILES 消息就行了,
不过看文档好像只在WINDOWS才有效

Original comment by windwiny...@gmail.com on 2 May 2010 at 6:31

Attachments: