>Hi All:
> How can I write a code for my app that would allow me to display a screen saver after the passing of a specific amount of time where no keying has occurred.
>Thanks
Fairly simple with a little API help. Naturally, you'll need a timer to track the elapsed time. Then
#define WM_SYSCOMMAND 0x0112
#define SC_SCREENSAVE 0xF140
DECLARE INTEGER SendMessage IN Win32API;
INTEGER hwnd, INTEGER uMsg,;
INTEGER wParam, INTEGER lParam
DECLARE INTEGER GetDesktopWindow IN Win32API
lnhWnd = GetDesktopWindow()
= SendMessage(lnhWnd, WM_SYSCOMMAND, SC_SCREENSAVE, 0)
George
Ubi caritas et amor, deus ibi est