Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any know how to use George Tasker's Scrnsave task
Message
From
20/07/2004 12:10:09
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00925785
Message ID:
00926151
Views:
18
Maybe you could try this one:
function ScreenSaver
	*
	*/CC/ Starts the screensaver
	* 
	#Define WM_SYSCOMMAND  0x0112
	#Define SC_SCREENSAVE  0xf140

	Declare Integer GetFocus In user32
	Declare ;
		Integer SendMessage In user32 ;
		Integer HWnd, Integer Msg, ;
		Integer wParam, Integer Lparam
	Local hWindow
	hWindow = GetFocus()
	SendMessage(hWindow, WM_SYSCOMMAND, SC_SCREENSAVE, 0)

return
*-----
Gensoft Sàrl
Christian Carron
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform