Click here to Skip to main content
16,010,918 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Deciphering memory leak dump Pin
Xander807-Jul-03 1:15
Xander807-Jul-03 1:15 
GeneralRe: Deciphering memory leak dump Pin
ed welch7-Jul-03 4:10
ed welch7-Jul-03 4:10 
QuestionWhy doesn’t show bitmap, when button is disable? Pin
no_body696-Jul-03 19:57
no_body696-Jul-03 19:57 
AnswerRe: Why doesn’t show bitmap, when button is disable? Pin
Rage6-Jul-03 21:49
professionalRage6-Jul-03 21:49 
GeneralRe: Why doesn’t show bitmap, when button is disable? Pin
no_body696-Jul-03 23:12
no_body696-Jul-03 23:12 
GeneralRe: Why doesn’t show bitmap, when button is disable? Pin
no_body697-Jul-03 0:47
no_body697-Jul-03 0:47 
Generalscreensaver problem Pin
xxhimanshu6-Jul-03 18:41
xxhimanshu6-Jul-03 18:41 
GeneralRe: screensaver problem Pin
Ryan Binns6-Jul-03 18:58
Ryan Binns6-Jul-03 18:58 
Do you want to disable it permanently or just while your program is running?

To disable it permanently, you might have to write to the registry or use SystemParametersInfo(), although unless your program is specifically to change the screensaver, then most users won't like you doing this.

To disable it temporarily, look at SetThreadExecutionState(ES_DISPLAYREQUIRED). This function is supported on Win98 or later.

Hope this helps,

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: screensaver problem Pin
xxhimanshu6-Jul-03 19:49
xxhimanshu6-Jul-03 19:49 
GeneralRe: screensaver problem Pin
Ryan Binns6-Jul-03 20:13
Ryan Binns6-Jul-03 20:13 
GeneralRe: screensaver problem Pin
Rage6-Jul-03 20:55
professionalRage6-Jul-03 20:55 
GeneralRe: screensaver problem Pin
Ryan Binns6-Jul-03 21:04
Ryan Binns6-Jul-03 21:04 
GeneralRe: screensaver problem Pin
Rage6-Jul-03 21:45
professionalRage6-Jul-03 21:45 
GeneralRe: screensaver problem Pin
Ryan Binns6-Jul-03 22:31
Ryan Binns6-Jul-03 22:31 
GeneralRe: screensaver problem Pin
Rage6-Jul-03 23:24
professionalRage6-Jul-03 23:24 
GeneralRe: screensaver problem Pin
Ryan Binns6-Jul-03 23:33
Ryan Binns6-Jul-03 23:33 
GeneralRe: screensaver problem Pin
JT Anderson8-Jul-03 12:22
JT Anderson8-Jul-03 12:22 
GeneralCheck is file is locked Pin
pranavamhari6-Jul-03 18:06
pranavamhari6-Jul-03 18:06 
GeneralRe: Check is file is locked Pin
Ravi Bhavnani6-Jul-03 18:43
professionalRavi Bhavnani6-Jul-03 18:43 
GeneralRe: Check is file is locked Pin
pranavamhari7-Jul-03 1:28
pranavamhari7-Jul-03 1:28 
GeneralRe: Check is file is locked Pin
David Crow7-Jul-03 2:50
David Crow7-Jul-03 2:50 
GeneralCalling a VB dll from C++ Pin
rajdawg6-Jul-03 12:48
rajdawg6-Jul-03 12:48 
GeneralRe: Calling a VB dll from C++ Pin
Anders Molin6-Jul-03 13:50
professionalAnders Molin6-Jul-03 13:50 
QuestionRunning in debugger runtime detect? Pin
Brian Tietz6-Jul-03 11:55
Brian Tietz6-Jul-03 11:55 
AnswerRe: Running in debugger runtime detect? Pin
Dave Bryant6-Jul-03 12:09
Dave Bryant6-Jul-03 12:09 

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.