GetMenuState (mnHwnd, i, MF_BYPOSITION) If CInt(iState)=0 Then ' 0=Enabled bEnabled = True Else ' = 3=Disabled bEnabled = False
確定! 回上一頁