Resource.h文件的宏定義

来源:互联网 发布:smtp 端口 是多少 编辑:程序博客网 时间:2024/04/30 09:10

今天打開Resource.h文件看了下,里面亂亂的,好多宏定義是一個數,也不敢隨便改,尤其是以前由于手動改過這個文件,現在新生成的控件ID與以前的總是重復。

 

為此特意找到了其中宏定義的含義,知道了這些,控件ID就可以隨便改啦。

 

_APS_NEXT_RESOURCE_VALUE is the next symbol value that will be used for a dialog resource, menu resource, and so on. The valid range for resource symbol values is 1 to 0x6FFF.

下一個對話框或菜單等資源的ID,1----0x6FFF

_APS_NEXT_COMMAND_VALUE is the next symbol value that will be used for a command identification. The valid range for command symbol values is 0x8000 to 0xDFFF.

下一個命令的ID,0x8000---0xDFFF

_APS_NEXT_CONTROL_VALUE is the next symbol value that will be used for a dialog control. The valid range for dialog control symbol values is 8 to 0xDFFF.

下一個對話框控件的ID,8---0xDFFF

_APS_NEXT_SYMED_VALUE is the next symbol value that will be issued when you manually assign a symbol value using the New command in the Symbol Browser.

在符號瀏覽器中使用新增命令里的預置ID

原创粉丝点击