[解疑]Visual Studio软件编程时,ID号的格式ID_,IDS_,IDC_,IDI_,IDB_,IDD_之间有什么区别?

是VS为了标识不同的资源而使用的符号,其实他们都是数字,在 resource.h 中可以找到它们,是有一定规律的,不是随机的。一般我们不用去改动它们,只要在资源里面编辑就行了。

IDC    ->      ID   of   Control   
IDI    ->      ID   of   Icon   
IDB    ->      ID   of   Bitmap   
IDD    ->      ID   of   Dialog   
IDS    ->      ID   of   String   
ID     ->      ID   of   Menu

写于关雎


在这里插入图片描述


新浪微博:https://weibo.com/tianzhejia
CSDN博客:https://blog.csdn.net/qq_35605018
QQ邮箱:[email protected]
126邮箱:[email protected]
Outlook邮箱:[email protected]

以上均可与本人取得联系,欢迎探讨。^ v ^

猜你喜欢

转载自blog.csdn.net/qq_35605018/article/details/106244484