Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 Windows 窗体 PictureBox 中显示 OpenGL 进程。我正在使用 Visual C++。我在 Windows 窗体界面上获取用户值,我必须为这些值绘制图表。你知道任何文件或样本吗?
我从不使用 Windows 窗体,但如果您使用的是本机 Win32 窗口,则可以使用该窗口的 hdc 创建 openGL 上下文,并且在创建该窗口期间您应该使用 openGL 画布标志创建它。我希望它有所帮助。