| View previous topic :: View next topic |
| Author |
Message |
sherbir Newbie
Joined: 04 Mar 2004 Posts: 1
|
Posted: Mar 5th, 2004 01:42 AM Post subject: Help with Screen saver |
|
|
I have made a powerpoint slideshow and i want to make it run as a screen saver in VB.
What is the code 4 that ?
How will I make the screen saver exit on moving the mouse ?  |
|
| Back to top |
|
P.T.A.M. Administrator

Joined: 08 Oct 2003 Posts: 752 Location: Greece
|
Posted: Mar 5th, 2004 11:37 AM Post subject: |
|
|
You can use the GetAsyncKeyState API to check if a key is pressed (including the mouse buttons), and the GetCursorPos to detect mouse moving. You can probably use a timer to see how long neither (keypress or mousemove) haven't occurred and after that time use the ShellExecute API to show the slideshow. _________________ No one is completely useless. They can at least be an example of what to avoid. |
|
| Back to top |
|
|