Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
XML RSS Feed
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
 
TitleStart the system's screen saver
Keywordsscreen saver, start
CategoriesWindows, Multimedia, Graphics
 
Use the SendMessage API function to send the window the WM_SYSCOMMAND message with the SC_SCREENSAVE command.
 
Private Sub Command1_Click()
    SendMessage hwnd, WM_SYSCOMMAND, SC_SCREENSAVE, ByVal 0&
End Sub
 
 
Copyright © 1997-2008 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated