${NSD_CreateButton} 0 0 42 35 "X"
Pop $BTN_Exit
SetCtlColors $BTN_Exit 0xffffff 0x16617f
${NSD_CreateButton} 0 0 42 35 "X"
Pop $BTN_Exit
SendMessage $BTN_Exit ${EM_SETBKGNDCOLOR} 0 0xf71661
How can change the button background color?
5 posts
${NSD_CreateButton} 0 0 42 35 "X"
Pop $BTN_Exit
SetCtlColors $BTN_Exit 0xffffff 0x16617f
${NSD_CreateButton} 0 0 42 35 "X"
Pop $BTN_Exit
SendMessage $BTN_Exit ${EM_SETBKGNDCOLOR} 0 0xf71661
${NSD_AddStyle} $BTN_Exit "${WM_CTLCOLORSTATIC}"
SetCtlColors $BTN_Exit 0x000000 0x555555
${NSD_AddStyle} $BTN_Exit "${ES_MULTILINE}|${WS_BORDER}|${WM_CTLCOLORSTATIC}"
SetCtlColors $BTN_Exit 0x000000 0x555555