怎样根据窗体的句柄,判断其Enable属性值?
如题。
[解决办法]
可以通过API函数来判断
Private Declare Function IsWindowEnabled Lib "user32 " (ByVal hwnd As Long) As Long
Private Declare Function EnableWindow Lib "user32 " (ByVal hwnd As Long, ByVal fEnable As Long) As Long
发布时间: 2012-01-20 18:53:53 作者: rapoo
怎样根据窗体的句柄,判断其Enable属性值?
如题。
[解决办法]
可以通过API函数来判断
Private Declare Function IsWindowEnabled Lib "user32 " (ByVal hwnd As Long) As Long
Private Declare Function EnableWindow Lib "user32 " (ByVal hwnd As Long, ByVal fEnable As Long) As Long