文件的拖放是如何完成的? [英] How drag and drop of files is done?

查看:28
本文介绍了文件的拖放是如何完成的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在winamp或vlc播放器中,如何进行文件拖放?我的意思是我想知道什么样的编码进入应用程序?我想知道c++

as in winamp or vlc player, how to do a file drag and drop? i mean i want to know what sort of coding goes into application? i want to know for c++

推荐答案

在 Windows 上的纯 C/C++ 中,开始阅读 DragAcceptFiles 函数和 WM_DROPFILES 消息.如果您使用的是更强大的 C++ 库(Qt、Wx 等),请查看它们各自的文档.更具体地说,了解您使用什么会有所帮助.

In pure C/C++ on Windows, start reading about the DragAcceptFiles function and the WM_DROPFILES message. If you're using a more powerful C++ library (Qt, Wx, etc) check their respective documentation. It would help to know what you use, more specifically.

另外,本次讨论可能会回答您的问题.如果这是您的意思,请关闭此问题.

Also, this discussion may answer your question. If it's what you meant, please close this question.

这篇关于文件的拖放是如何完成的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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