FORM NA BARRA DE STATUS
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.
eu precizo pra colocar em minha Lan House, pra acessar os games mais praticos
se alguem puder me ajudar ficaria grato.
Pra ele ficar sempre na frente é assim:
'MODULO
'FORM
'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
Obs:.
Substitua isso:
Por:
Substitua isso:
Private Sub Form_Load()
res = SetWindowPos(Master.hwnd, HWND_TOPMOST, 0, 0, 0, 0, flags)
end subPor:
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