• Advertisement

Archived

This topic is now archived and is closed to further replies.

they eat my app

This topic is 5747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How do I make it sao that screensavers won''t tear my app apart? Im using DX (obviously or I wouldn''t have posted here right ) and Win98. Any ideas about how this can be fixed? ~Vendayan

Share this post


Link to post
Share on other sites
Advertisement
Try this in your WndProc()

  

case WM_SYSCOMMAND:////////////////////////////////// S C R E E N S A V E R //////

switch(wParam&0xfff0)
{
case SC_MONITORPOWER:
case SC_SCREENSAVE:
return(0);
break;
}
break;


It will stop screen savers or power saving been activated.

Share this post


Link to post
Share on other sites

  • Advertisement