请问什么是windows drowing工具栏图像/位图的preifine资源ID? [英] Please what is the predifine resource id for windows drowing toolbar images/bitmaps?

查看:116
本文介绍了请问什么是windows drowing工具栏图像/位图的preifine资源ID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我正在写一个MFC绘图应用程序。我希望在工具栏中添加其他工具栏图像/按钮以进行绘图。具体来说,我希望为AddLine,AddRectangle,AddText,AddArrow等添加按钮。请问有什么方法可以将这些图像/工具栏按钮添加到我的应用程序中吗?什么是他们预定义的资源ID(按照定义的资源ID,我的意思是像新的ID_FILE_NEW,Open_的ID_FILE_OPEN等等。

Okay, I am writing an MFC drawing app. I wish to add additional tool bar images/buttons to the toolbar for the purpose of drawing. Specifically I wish to add buttons for AddLine, AddRectangle,AddText,AddArrow etc. Please is there a way I can add these images/toolbar buttons to my app? What is their predefined resource id ( By perdefined resource Id I mean something like ID_FILE_NEW for New, ID_FILE_OPEN for Open etc.

推荐答案

你可以通过点击F12找到这样的值或者上下文菜单转到定义



但建议直接使用定义。



提示:在文本模式下打开您的rc文件或使用文本编辑器直接理解和操作它。
you can find such values with hitting F12 or contexte menu "Goto definition"

But it is recommanded to use the defines directly.

Tip: open your rc file in text mode or with a text editor to understand and manipulate it directly.


这篇关于请问什么是windows drowing工具栏图像/位图的preifine资源ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆