VERSION 5.00
Begin VB.Form frmLock 
   BackColor       =   &H00000000&
   BorderStyle     =   0  'None
   Caption         =   "WinLoq"
   ClientHeight    =   1680
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   1680
   ScaleWidth      =   4680
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.Image imgLock 
      Height          =   1515
      Left            =   0
      Top             =   0
      Width           =   4365
   End
End
Attribute VB_Name = "frmLock"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Form_Load()
    On Error Resume Next
    imgLock.Picture = LoadPicture(App.Path + "\lock.bmp")
    
    Me.Width = GetSystemMetrics(SM_CXSCREEN) * 15
    Me.Height = GetSystemMetrics(SM_CYSCREEN) * 15
    imgLock.Top = (Me.ScaleHeight - imgLock.Height) / 2
    imgLock.Left = (Me.ScaleWidth - imgLock.Width) / 2
    'Me.WindowState = vbMaximized
    
    SetWindowPos Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE Or SWP_SHOWWINDOW
    Me.Visible = True
End Sub


