Grazie mille, ho risolto con questo codice invece del click

hook = SetWindowsHookEx(13, AddressOf myfunc, App.hInstance, 0)

ecc...