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.
这篇关于文件的拖放是如何完成的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:文件的拖放是如何完成的?
基础教程推荐
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 我有静态或动态 boost 库吗? 2021-01-01
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- 常量变量在标题中不起作用 2021-01-01
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 这个宏可以转换成函数吗? 2022-01-01
