导航:  Windows Controls Wrapper Functions > Button Control > Wrappers >

Button_SetDontClick

上一页返回章节概述下一页

描述

 

在单选按钮上设置一个标志,用于控制按钮接收焦点时生成BN_CLICKED消息。 您可以使用此函数或显式发送BM_SETDONTCLICK消息。

 

PB语法

 

SUB Button_SetDontClick ( _

BYVAL hButton AS DWORD, _

BYVAL bState AS LONG _

)

 

参数

 

hButton

[in]处理按钮控件。

bState

[in]国家。 设置BST_DONTCLICK标志(位)为TRUE,否则为FALSE。

 

备注

 

无返回值。

 

最低操作系统

 

Windows Vista。

 

引用文件 #INCLUDE Once

 

ButtonCtrl.inc