CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 22

Threaded View

  1. #3
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

    Re: Wake monitor from sleep... updated method

    These two ways seem working fine in my Win 7. Though I'm not sure (or better, don't care) whether these are documented/recommended for Win 7.

    1) Set up monitor to power down in 1 min. Build the app, run it and leave the system idle. In 1 min the monitor goes off, 1 min later it wakes up.
    2) Click the window, and monitor goes off. 10 seconds later it wakes up.

    For the first case I tested this having the app foreground/background, and all the times it worked fine.
    Attached Files Attached Files
    Best regards,
    Igor

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured