Access - UrgE SABER COMO BLOQUER LA BOLITA DEL MOUSE

 
Vista:

UrgE SABER COMO BLOQUER LA BOLITA DEL MOUSE

Publicado por ArmyBoy (93 intervenciones) el 19/01/2005 02:50:42
Hola :
Necesito saber komo poder bloquear la bolita del mouse porque en los formularios se mueven los registros. Hace tiempo me encontre con un codigo para esto pero nunca me funciono.

Si alguien tiene esto favor de mandarme un ejemplo a mi correo Gracias
Atte.
ArmyBoy
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:UrgE SABER COMO BLOQUER LA BOLITA DEL MOUSE

Publicado por Luis Garcia (64 intervenciones) el 19/01/2005 10:09:35
a mi me paso esto y al abrir el formulario le puse este procedimiento de evento que copie de no se donde y a mi me funciona mira a ver si te vale.
Un saludo

Private Sub Form_Open(Cancel As Integer)
' Turn the MouseWheel Off
Dim blRet As Boolean
' Call our MouseHook function in the MouseHook dll.
' Please not the Optional GlobalHook BOOLEAN parameter
' Several developers asked for the MouseHook to be able to work with
' multiple instances of Access. In order to accomodate this request I
' have modified the function to allow the caller to
' specify a thread specific(this current instance of Access only) or
' a global(all applications) MouseWheel Hook.
' Only use the GlobalHook if you will be running multiple instances of Access!
blRet = MouseWheelOFF(False)

End Sub
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar