VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

OCX control that enables a user to hide/show the taskbar and at the same time open/close the CD tra

Hitin H. Bajaj  (1 Submission)   OLE/COM/DCOM/Active-X   VB 6.0   Unknown Difficulty   Thu 30th August 2001   Mon 8th February 2021

OCX control that enables a user to hide/show the taskbar and at the same time open/close the CD tray.

API Declarations


' Mail ID: [email protected]
' This program enables a user to Show/hide the task bar and even open/close the CD tray simply using a single control.
' User can even manipulate the code as per the requirements

Dim lngReturn As Long
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
Dim strReturn As Long
Dim backcol As OLE_COLOR
Private Declare Function FindWindow Lib "user32" _
Alias "FindWindowA" (ByVal lpClassName As String, _
ByVal lpWindowName As String) As Long
Private Declare Function ShowWindow Lib "user32.dll" _
(ByVal hWnd As Long, ByVal nCmdShow As Long) As Long

Rate OCX control that enables a user to hide/show the taskbar and at the same time open/close the CD tra (2(2 Vote))
OCX control that enables a user to hide/show the taskbar and at the same time open/close the CD tra.bas

OCX control that enables a user to hide/show the taskbar and at the same time open/close the CD tra Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters