I don't know the "ie super label" , but I use the following code to copy the screen.
First set your apps startup property to Sub Main and set your forms borderstyle to none.
Add a standard module with this code:
Code:
Option Explicit
Private Declare Function GetWindowDC Lib "user32" (ByVal Hwnd As Long) As Long
Private Declare Function ReleaseDC Lib "user32" (ByVal Hwnd As Long, ByVal hdc As Long) As Long
Private Declare Function BitBlt Lib "gdi32" (ByVal hDCDest As Long, ByVal XDest As Long, ByVal YDest As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hDCSrc As Long, ByVal XSrc As Long, ByVal YSrc As Long, ByVal dwRop As Long) As Long
Private Declare Function GetDesktopWindow Lib "user32" () As Long
Sub Main()
Load Form1
Form1.AutoRedraw = True
Call CopyScreen(Form1)
Form1.Show
End Sub
Public Sub CopyScreen(DestForm As Form)
Dim retVal As Long
Dim hWndDesk As Long
Dim hDCDesk As Long
Dim WidthDesk As Long
Dim HeightDesk As Long
'define the screen coordinates (upper
'corner (0,0) and lower corner (Width, Height)
WidthDesk = Screen.Width \ Screen.TwipsPerPixelX
HeightDesk = Screen.Height \ Screen.TwipsPerPixelY
'get the desktop handle and device context
hWndDesk = GetDesktopWindow()
hDCDesk = GetWindowDC(hWndDesk)
'copy the desktop to the form
retVal = BitBlt(DestForm.hdc, 0, 0, WidthDesk, HeightDesk, hDCDesk, 0, 0, vbSrcCopy)
retVal = ReleaseDC(hWndDesk, hDCDesk)
End Sub
And add the following code to your forms module
Code:
Option Explicit
Private Sub Form_Load()
Me.Top = 0
Me.Left = 0
Me.Width = Screen.Width
Me.Height = Screen.Height
End Sub
Private Sub Form_DblClick()
Unload Me
End Sub