How drag and drop of files is done?(文件的拖放是如何完成的?)
问题描述
在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.
这篇关于文件的拖放是如何完成的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:文件的拖放是如何完成的?


基础教程推荐
- 如何“在 Finder 中显示"或“在资源管理器中显 2021-01-01
- 如何在不破坏 vtbl 的情况下做相当于 memset(this, ...) 的操作? 2022-01-01
- 在 C++ 中循环遍历所有 Lua 全局变量 2021-01-01
- 为 C/C++ 中的项目的 makefile 生成依赖项 2022-01-01
- 使用从字符串中提取的参数调用函数 2022-01-01
- 如何使图像调整大小以在 Qt 中缩放? 2021-01-01
- 管理共享内存应该分配多少内存?(助推) 2022-12-07
- 从 std::cin 读取密码 2021-01-01
- Windows Media Foundation 录制音频 2021-01-01
- 为什么语句不能出现在命名空间范围内? 2021-01-01