VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

for hiding and showing the start button and task bar

R.KUMARASAMYRAJA  (1 Submission)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Sat 9th June 2001   Mon 8th February 2021

for hiding and showing the start button and task bar

API Declarations


Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long

Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Const SWP_HIDEWINDOW = &H80
Const SWP_SHOWWINDOW = &H40
Private Const SW_HIDE = 0
Private Const SW_SHOWDEFAULT = 10
Private Const SW_NORMAL = 1
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long

Private Type POINTAPI
x As Long
y As Long
End Type
Dim kk As Long
Dim l As POINTAPI
Dim a As Long
Dim xx, yy As Long
Private Const WM_PAINT = &HF

Private Const SW_SHOWNORMAL = 1

Rate for hiding and showing the start button and task bar (1(1 Vote))
for hiding and showing the start button and task bar.bas

for hiding and showing the start button and task bar Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters