Win32: Unable to set Bitmap to Button

后端 未结 1 1073
自闭症患者
自闭症患者 2021-01-27 15:25

I have this code:

case WM_CREATE:
    {

    HWND button = CreateWindowEx(NULL,
            \"BUTTON\",
            \"Do!\",
            WS_TABSTOP | WS_VISIBLE          


        
相关标签:
1条回答
  • 2021-01-27 16:06

    Don't forget to set the BS_BITMAP flag!

    0 讨论(0)
提交回复
热议问题