:2.432KB : :1 :2021-04-25 10:24:06
SOFT_Handle = 寻找顶级窗口_ (字符 (0), “按钮函数实例”)
option_Handle = 寻找子窗口_ (SOFT_Handle, 0, “Button”, 字符 (0))
Option_id = GetDlgCtrlID (option_Handle)
.如果 (状态 = 真)
BWND = CheckDlgButton (SOFT_Handle, Option_id, #BST_CHECKED)
.否则
BWND = CheckDlgButton (SOFT_Handle, Option_id, #BST_UNCHECKED)
易语言设置按钮选中状态例子。
01-14MFC透明按钮效果,设置按钮背景透明