VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



To Hide Or Show Notepad In Specific Time Interval

by VIKAS PILKHUWA 0122-2322475 (1 Submission)
Category: Windows API Call/Explanation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 19th May 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

To Hide Or Show Notepad In Specific Time Interval

API Declarations


Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long

Rate To Hide Or Show Notepad In Specific Time Interval




Static i As Integer
p = FindWindow("Notepad", vbNullString)


If i = 0 Then

Call ShowWindow(p, 1)
i = i + 1

ElseIf i = 0 Then

Call ShowWindow(p, 0)
i = 0
End If


End Sub


Download this snippet    Add to My Saved Code

To Hide Or Show Notepad In Specific Time Interval Comments

No comments have been posted about To Hide Or Show Notepad In Specific Time Interval. Why not be the first to post a comment about To Hide Or Show Notepad In Specific Time Interval.

Post your comment

Subject:
Message:
0/1000 characters