Visual Basic - UN FORM ON TOP MOST

Life is soft - evento anual de software empresarial
 
Vista:

UN FORM ON TOP MOST

Publicado por JOSE LUIS (26 intervenciones) el 06/07/2001 11:16:16
NECESITO PONER UN FORM ARRIBA DE TODAS LAS VENTANAS QUE HAYA EN EL ESCRITORIO. CUANDO CLICKEE CUALQUIER OTRA, QUE éSTA PERMANEZCA POR ENSIMA. GRACIAS POR LA AYUDA.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:UN FORM ON TOP MOST

Publicado por enrique (8 intervenciones) el 15/07/2001 07:10:33

esto va en un modulo!!!!

Declare Sub SetWindowPos Lib "user32" (ByVal hwnd As Integer, ByVal hWndInsertAfter As Integer, ByVal X As Integer, ByVal y As Integer, ByVal cx As Integer, ByVal cy As Integer, ByVal wFlags As Integer)


'y esto en el form load o en lo que se te ocurra!!!!

WidthPixels = Form1.Width / Screen.TwipsPerPixelX
HeightPixels = Form1.Height / Screen.TwipsPerPixelY

SetWindowPos Form1.hwnd, -1, 0, 0, WidthPixels, HeightPixels, &H50
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar