VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This code completly paints the screen with the picture file of your choice

Ishwar Purushotham  (1 Submission)   Custom Controls/Forms/Menus   VB 6.0   Unknown Difficulty   Fri 24th December 2004   Mon 8th February 2021

This code completly paints the screen with the picture file of your choice

API Declarations



'you need to have 2 picture boxes, if you want to load a picture
' on the screen
'==================== By Ishwar Purushotham =====================

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
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Const SWP_HIDEWINDOW = &H80
Const SWP_SHOWWINDOW = &H40

Dim hTaskb As Long


Rate This code completly paints the screen with the picture file of your choice (1(1 Vote))
This code completly paints the screen with the picture file of your choice.bas

This code completly paints the screen with the picture file of your choice Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters