开发者

C++\Win32 API - Difference between WC_BUTTON and "BUTTON" window classes

Is there a difference or is it as simple as #define WC_BUTTON "BUTTON"? Also, if I use InitCommonControlsEx in place of InitCommonControls, do开发者_JAVA百科 I still need to include a manifest?


Yes, its as you say:

CommCtrl.h

// Button Class Name
#define WC_BUTTONA  "Button"
#define WC_BUTTONW  L"Button"

You still need a manifest if you use InitCommonControlsEx as you need to use V6 of the common controls.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜