c++ - 在 Visual C++ Windows 应用程序中显示图像

标签 c++

我是 visual c++ Windows 应用程序编程的初学者,我想在屏幕上显示图像,但我不知道如何显示。谁能帮我?

我在网上找到的大部分内容都是关于 MFC 应用程序的,我对此并不感兴趣。 我希望这个应用程序尽可能简单,所以我对使用任何其他库(如 OpenCV)或使用 Direct2D、OpenGl 不感兴趣也就不足为奇了。

最佳答案

BitBlt,在 MSDN 上查找。另见,http://www.winprog.org/tutorial/bitmaps.html .

关于c++ - 在 Visual C++ Windows 应用程序中显示图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7867414/

相关文章:

c++ - 尝试发送 GET 请求,同一地址收到 301

c++ - C++ 怎么知道 "quotation marks"之间的任何东西是一个 std::string?

c++ - decltype的非终止递归使用

c++ - zmq-cpp : recv() waits for data despite ZMQ_DONTWAIT being set

c++ - vector<int> C++ 的汉明权重

c++ - linux CFS schedualar下C/C++多线程场景出现意外结果

c++ - 在 C++0x 中虚拟方法不是 "delete"吗?

c++ - 关于cpp中casting objects的两个问题

c++ - 缓存设计 : flyweight of mutable entity objects based on an immutable key

c++ - 缓存函数结果,包括 maybe void