Can I deactivate MouseWheel when CloseButton disabled?

S

Sam Kuo

Hi,
I am using Stephen Lebans' method to activate/deactive mouse wheel.
But I wonder if it is still possible to deactivate mouse wheel when the
Close Button is disabled?

(Because as Stephen himself ansered in one of the threads that "there are
only two situations in which the MouseWheel will still scroll with the
MouseWHeel hook activated...2) If you have a Form that has the Close Button
property DISABLED")

Private Sub XXXXXXX
' Turn the MouseWheel Off
Dim blRet As Boolean
blRet = MouseWheelOFF
End Sub

Kind regards,
Sam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top