VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Some API funcitons to move, hide/show the mouse and a few miscellanious functions aswell, like open

DiskJunky  (16 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Fri 15th December 2000   Mon 8th February 2021

Some API funcitons to move, hide/show the mouse and a few miscellanious functions aswell, like open/close the CD drive, etc...

API Declarations


'PHREAKY!!!'

'Some API functions for the mouse and a few other API
'calls as well.
'- DiskJunky
'--------------------------------------------------------


Declare Sub SetCursorPos Lib "user32" (ByVal X As Integer, ByVal Y As Integer)
Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
Declare Function MciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As Any, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long
Declare Function FindWindow% Lib "user32" Alias "FindWindowA" (ByVal lpClassName$, ByVal lpWindowName$)
Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByRef lpvParam As Any, ByVal fuWinIni As Long) As Long

Rate Some API funcitons to move, hide/show the mouse and a few miscellanious functions aswell, like open (1(1 Vote))
Some API funcitons to move, hide/show the mouse and a few miscellanious functions aswell, like open.bas

Some API funcitons to move, hide/show the mouse and a few miscellanious functions aswell, like open Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters