shirin71
08-06-2011, 09:21 AM
خاموش کردن مونیتور
SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 0);
روشن کردن مونیتور
SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, -1);
SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, 0);
روشن کردن مونیتور
SendMessage(Application.Handle, WM_SYSCOMMAND, SC_MONITORPOWER, -1);