| |||
Respuesta: Un formulario al estilo msn o avast? Cita: http://www.forosdelweb.com/f69/source-control-ocx-con-2-caption-picture-898881/
Iniciado por servantsoftware ![]() Por lo general cuando ejecutas un programa siempre sale por encima de los demas, al menos que haya otro programa por encima de todos. Puedes declarar una funcion o pegar este codigo en el formulario
Código:
nst HWND_TOPMOST = -1 'Pa qe este siempre visible Const HWND_NOTOPMOST = -2 Const SWP_NOSIZE = &H1 Const SWP_NOMOVE = &H2 Const SWP_NOACTIVATE = &H10 Const SWP_SHOWWINDOW = &H40 Private Declare Sub SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) Private Sub form_load() SetWindowPos Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE Or SWP_SHOWWINDOW Or SWP_NOMOVE Or SWP_NOSIZE End Sub |
Etiquetas: |