Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Process ID Pin
David Crow11-May-04 5:39
David Crow11-May-04 5:39 
GeneralRe: Process ID Pin
Jens Doose11-May-04 5:42
Jens Doose11-May-04 5:42 
GeneralRe: Process ID Pin
Opwar11-May-04 5:48
Opwar11-May-04 5:48 
GeneralRe: Process ID Pin
Jens Doose11-May-04 5:55
Jens Doose11-May-04 5:55 
GeneralRe: Process ID Pin
Diddy11-May-04 6:07
Diddy11-May-04 6:07 
GeneralManually turn display into standby mode Pin
mleonhartsberger11-May-04 4:55
mleonhartsberger11-May-04 4:55 
GeneralRe: Manually turn display into standby mode Pin
David Crow11-May-04 5:48
David Crow11-May-04 5:48 
GeneralRe: Manually turn display into standby mode Pin
mleonhartsberger11-May-04 9:26
mleonhartsberger11-May-04 9:26 
Yeah thanks I successfully used your description to send my screen into darkness after one second.

But (there's always one Poke tongue | ;-P ) theres the problem of waking up again. If I don't move the mouse around continously the screen blankens immediately again (no surprise, timer is still set to 1 second).
So I thought, well, why don't wait the second until standby mode kicks in, and then write the old timer back? I use Sleep() for this, but the problem is, after Sleep() returns, the system thinks that it should awaken itself again and the screen turns on.

So, I need a way to wait this second and write the old scheme back WITHOUT letting the system think it should wakeup.

GeneralRe: Manually turn display into standby mode Pin
David Crow11-May-04 9:33
David Crow11-May-04 9:33 
GeneralChart Control !! Pin
Rafael Fernández López11-May-04 4:47
Rafael Fernández López11-May-04 4:47 
GeneralRe: Chart Control !! Pin
Ravi Bhavnani11-May-04 6:49
professionalRavi Bhavnani11-May-04 6:49 
GeneralDoes anything affect Sleep () Pin
cheesepirate11-May-04 4:40
cheesepirate11-May-04 4:40 
GeneralRe: Does anything affect Sleep () Pin
toxcct11-May-04 4:47
toxcct11-May-04 4:47 
GeneralRe: Does anything affect Sleep () Pin
cheesepirate11-May-04 4:54
cheesepirate11-May-04 4:54 
GeneralRe: Does anything affect Sleep () Pin
Jens Doose11-May-04 4:57
Jens Doose11-May-04 4:57 
GeneralRe: Does anything affect Sleep () Pin
toxcct11-May-04 4:59
toxcct11-May-04 4:59 
GeneralRe: Does anything affect Sleep () Pin
Jens Doose11-May-04 5:09
Jens Doose11-May-04 5:09 
GeneralRe: Does anything affect Sleep () Pin
toxcct11-May-04 5:17
toxcct11-May-04 5:17 
GeneralRe: Does anything affect Sleep () Pin
Jens Doose11-May-04 5:23
Jens Doose11-May-04 5:23 
GeneralRe: Does anything affect Sleep () Pin
toxcct11-May-04 5:29
toxcct11-May-04 5:29 
GeneralRe: Does anything affect Sleep () Pin
Jens Doose11-May-04 5:41
Jens Doose11-May-04 5:41 
GeneralRe: Does anything affect Sleep () Pin
toxcct11-May-04 5:51
toxcct11-May-04 5:51 
GeneralRe: Does anything affect Sleep () Pin
Toby Opferman11-May-04 12:48
Toby Opferman11-May-04 12:48 
GeneralRe: Does anything affect Sleep () Pin
Toby Opferman11-May-04 12:53
Toby Opferman11-May-04 12:53 
GeneralRe: Does anything affect Sleep () Pin
Rafael Fernández López11-May-04 4:50
Rafael Fernández López11-May-04 4:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.