Tema: FAQ's de VB6
Ver Mensaje Individual
  #136 (permalink)  
Antiguo 20/04/2006, 16:23
Avatar de vbx3m
vbx3m
 
Fecha de Ingreso: febrero-2005
Ubicación: Venezuela
Mensajes: 524
Antigüedad: 19 años, 2 meses
Puntos: 1
Como apagar el monitor??

Código:
Private Const APAGA = 2&
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Sub Command1_Click()
Call SendMessage(Me.hWnd, &H112, &HF170&, ByVal APAGA)
End Sub
__________________
ホルヘ・ラファエル・マルティネス・レオン