如何在VB6中使用LoadResPicture加载图像的项目中添加图像
我有一个正在使用以下方式加载图像的项目:
imgwrc1.Picture = LoadResPicture(115, 0)
现在如何添加我的图像并为其指定 id 116, 参数中的 0 显示它是位图,但项目文件夹中没有位图。那么图像是从哪里加载的。 我想在对话框中显示该图像
I have a project which is loading images using:
imgwrc1.Picture = LoadResPicture(115, 0)
Now how do i add my image and give it id 116, 0 in the argument shows that it is a bitmap but there are no bitmaps in the project folder. So from where is the image being loaded.
I want to display this image in dialog
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从插件管理器加载 VB 资源编辑器插件,然后将图像添加到资源文件中,然后使用 LoadResPicture 函数访问它。
from addin manager got to load the VB Resource editor add in then, add the image to the resource file then acccess it using LoadResPicture function.