VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This code shows how to Lock or Unlock any Window on Win95/98/NT

nofx  (8 Submissions)   Windows System Services   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Mon 4th January 1999   Mon 8th February 2021

This code shows how to Lock or Unlock any Window on Win95/98/NT

API Declarations


' CaptiveX TM. '
' Writen by nofx (op-ivy) '
'http://www.sharpnet.net/~nofx/'
'or visit us on EFNET #captivex'
' P.S. '
' Have Fun '


#If Win32 Then
Declare Function EnableWindow& Lib "user32" (ByVal hWnd As Long, ByVal fEnable As Long)
Declare Function FindWindow& Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String)
#Else
Declare Function EnableWindow% Lib "user" (ByVal hWnd As Integer, ByVal aBOOL As Integer)
Declare Function FindWindow% Lib "user" (ByVal lpClassName As Any, ByVal lpWindowName As Any)
#End If 'WIN32

Rate This code shows how to Lock or Unlock any Window on Win95/98/NT (1(1 Vote))
This code shows how to Lock or Unlock any Window on Win95/98/NT.bas

This code shows how to Lock or Unlock any Window on Win95/98/NT Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters