I need to disable the mouse on click of ADD button.
I wrote following code for that
Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
on click of ADD
ShowCursor false
after ADD opertaion is finished
ShowCursor true
This is wroking when I click the ADD button for first time. But when I click on ADD button again it does not work.
Any idea why it's behaving like that?
I wrote following code for that
Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
on click of ADD
ShowCursor false
after ADD opertaion is finished
ShowCursor true
This is wroking when I click the ADD button for first time. But when I click on ADD button again it does not work.
Any idea why it's behaving like that?
Comment