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.
我有一个项目正在使用以下方法加载图像:
imgwrc1.Picture = LoadResPicture(115, 0)
现在我如何添加我的图像并给它 id 116,参数中的 0 表明它是一个位图,但项目文件夹中没有位图。那么从哪里加载图像。我想在对话框中显示此图像
从插件管理器加载VB资源编辑器,然后将图像添加到资源文件中,然后使用LoadResPicture函数访问它。