FORM NA BARRA DE STATUS

USUARIO.EXCLUIDOS 05/03/2005 19:06:37
#71281
Ola pessoal, tem como eu por um form em cima da barra de status no desktop do windows?? que aceite qualquer resolução?

eu precizo pra colocar em minha Lan House, pra acessar os games mais praticos

se alguem puder me ajudar ficaria grato.
GABRIEL.LOGAN 05/03/2005 19:16:32
#71285
Pra ele ficar sempre na frente é assim:

'MODULO

Declare Function SetWindowPos Lib "user32" (ByVal h%, ByVal hb%, _
ByVal x%, ByVal y%, ByVal cx%, ByVal cy%, ByVal F%) As Integer

Global Const SWP_NOMOVE = 2
Global Const SWP_NOSIZE = 1
Global Const flags = SWP_NOMOVE Or SWP_NOSIZE
Global Const HWND_TOPMOST = -1
Global Const HWND_NOTOPMOST = -2


'------DEIXA SUA JANELA NA FRENTE DE TUDO!


'FORM

Private Sub Form_Load()
res = SetWindowPos(Master.hwnd, HWND_TOPMOST, 0, 0, 0, 0, flags)
end sub

GABRIEL.LOGAN 05/03/2005 19:17:46
#71286
Obs:.

Substitua isso:
Private Sub Form_Load() 
res = SetWindowPos(Master.hwnd, HWND_TOPMOST, 0, 0, 0, 0, flags)
end sub


Por:

Private Sub Form_Load() 
res = SetWindowPos(SEU FORM.hwnd, HWND_TOPMOST, 0, 0, 0, 0, flags)
end sub
Tópico encerrado , respostas não são mais permitidas