VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Open the start menu using mouse_event API

Karthikeyan  (187 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Tue 2nd October 2001   Mon 8th February 2021

Open the start menu using mouse_event API

API Declarations


Private Declare Function SetCursorPos Lib "user32" (ByVal x As Long, ByVal y As Long) As Long
Private Const mouse_eventC = &H2 ' Event contains mouse event record
Private Const MOUSE_MOVED = &H1
Private Const MOUSEEVENTF_ABSOLUTE = &H8000 ' absolute move
Private Const MOUSEEVENTF_LEFTDOWN = &H2 ' left button down
Private Const MOUSEEVENTF_LEFTUP = &H4 ' left button up
Private Const MOUSEEVENTF_MIDDLEDOWN = &H20 ' middle button down
Private Const MOUSEEVENTF_MIDDLEUP = &H40 ' middle button up
Private Const MOUSEEVENTF_MOVE = &H1 ' mouse move
Private Const MOUSEEVENTF_RIGHTDOWN = &H8 ' right button down
Private Const MOUSEEVENTF_RIGHTUP = &H10 ' right button up

Rate Open the start menu using mouse_event API (1(1 Vote))
Open the start menu using mouse_event API.bas

Open the start menu using mouse_event API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters