Private Sub GetBackDskPicture()
'...
'...
[b]Me.Refresh[/b]
End Sub
Private Sub GetBackDskPicture()
Me.Hide
DoEvents
Dim rct As RECT
Call GetWindowRect(Me.hwnd, rct)
Call BitBlt(Me.hDC, 0&, 0&, Me.ScaleWidth \ Screen.TwipsPerPixelX, Me.ScaleHeight \ Screen.TwipsPerPixelY, _
GetDC(GetDesktopWindow), Me.Left \ Screen.TwipsPerPixelX, Me.Top \ Screen.TwipsPerPixelY, vbSrcCopy)
Label2.Visible = False
Label2.Visible = True
Me.Refresh
Me.Show
End Sub
Сейчас этот форум просматривают: Yandex-бот и гости: 191