定义按钮文本

优质
小牛编辑
141浏览
2023-12-01
!define MUI_PAGE_CUSTOMFUNCTION_SHOW "CompShowProc"
!insertmacro MUI_PAGE_COMPONENTS ;组件选择页面



Function "CompShowProc"

GetDlgItem $R0 $HWNDPARENT 1
SendMessage $R0 ${WM_SETTEXT} 0 `STR:小黑`   ;下一步按键

GetDlgItem $R0 $HWNDPARENT 2
SendMessage $R0 ${WM_SETTEXT} 0 `STR:我叫小黑`  ;取消按键

GetDlgItem $R0 $HWNDPARENT 3
SendMessage $R0 ${WM_SETTEXT} 0 `STR:黑小`  ;上一步按键
FunctionEnd