Private Declare Function SetWindowPos Lib "user32" (ByVal h As Long, ByVal hb As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal F As Long) As Long Private Const HWND_TOPMOST = -1 Private Const HWND_NOTOPMOST = -2 Private Const SWP_NOMOVE = 2 Private Const SWP_NOSIZE = 1 Private Const flags = SWP_NOMOVE Or SWP_NOSIZE Function SiempreVisible(Formulario As Form) Dim Res As Integer Res = SetWindowPos(Formulario.hWnd, HWND_TOPMOST, 0, 0, 0, 0, flags) End Function