Results 1 to 2 of 2

Thread: disabling screen saver

  1. #1

    disabling screen saver

    Hi all,

    I would like to disable the screen saver, and optionnally the energy reduction thingy too (though I dont think it would crash the game).

    I tried to have the mouse move one pixel every 5 seconds so that a movement is spotted, but apparently the screen saver don't care

    Any nice function to call to disable and the re-enable the thing?

    TIA.
    http://www.birth-of-america.com/
    <br />The game on American War of Independence and French-Indians war.

  2. #2

    disabling screen saver

    SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, 0, nil, 0);

    or

    SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, 1, nil, 0);

    to set it actives.

    :lol:
    http://www.birth-of-america.com/
    <br />The game on American War of Independence and French-Indians war.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •