开发者

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

开发者 https://www.devze.com 2023-01-10 15:47 出处:网络
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,

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

精彩评论

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