Declare Function BitBlt Lib "GDI" (ByVal hDestDC As Integer, ByVal x As Integer, ByVal Y As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, ByVal hSrcDC As Integer, ByVal XSrc As Integer, ByVal YSrc As Integer, ByVal dwRop As Long) As Integer
Const SRCCOPY = &HCC0020
Sub UpdateStatus (pct As Integer)
Dim percent As String
Dim OldScaleMode As Integer
Dim wRtn As Integer
percent = Format$(CLng(pct)) & "%"
StatusDlg.Gauge.Cls
StatusDlg.InvisGauge.Cls
'
' Place percent complete string in center of both labels