Guest eharshosh@gmail.com Posted June 25, 2008 Posted June 25, 2008 Hi, i'm developing a software for windows xp that will have an option to turn off the monitor i found one way to do that by changing the refresh rate of the monitor to unsupported refresh rate, but this way is not good because some monitor supports this mode and some not. i sure that there is another way because in windows there is an option to turn off the monitor after x minutes, so what is the API for this operation?
Guest cornedbeef007-groups@yahoo.com.au Posted June 25, 2008 Posted June 25, 2008 Re: is there is any way to turn off the screen programatically? On Jun 26, 8:28 am, eharsh...@gmail.com wrote: > Hi, > i'm developing a software for windows xp that will have an option to > turn off the monitor > i found one way to do that by changing the refresh rate of the monitor > to unsupported refresh rate, > but this way is not good because some monitor supports this mode and > some not. > i sure that there is another way because in windows there is an option > to turn off the monitor after x minutes, > so what is the API for this operation? In Google, this string http://www.google.com.au/search?hl=en&q=winxp+api+turn+off+monitor&btnG=Google+Search&meta= finds this result. http://www.codeproject.com/KB/cs/Monitor_management_guide.aspx Good luck.
Guest eharshosh@gmail.com Posted June 25, 2008 Posted June 25, 2008 Re: is there is any way to turn off the screen programatically? On Jun 26, 1:38 am, cornedbeef007-gro...@yahoo.com.au wrote: > On Jun 26, 8:28 am, eharsh...@gmail.com wrote: > > > Hi, > > i'm developing a software for windows xp that will have an option to > > turn off the monitor > > i found one way to do that by changing the refresh rate of the monitor > > to unsupported refresh rate, > > but this way is not good because some monitor supports this mode and > > some not. > > i sure that there is another way because in windows there is an option > > to turn off the monitor after x minutes, > > so what is the API for this operation? > > In Google, this stringhttp://www.google.com.au/search?hl=en&q=winxp+api+turn+off+monitor&bt... > finds this result.http://www.codeproject.com/KB/cs/Monitor_management_guide.aspx > > Good luck. Thanks a lot, did the job! -- Weird, i tried to search it in google and all i got is "shut down monitoring" programs... when i changed the word 'monitor' with 'screen' nothing found... anyway, thanks again.
Guest cornedbeef007-groups@yahoo.com.au Posted June 26, 2008 Posted June 26, 2008 Re: is there is any way to turn off the screen programatically? On Jun 26, 8:51 am, eharsh...@gmail.com wrote: > On Jun 26, 1:38 am, cornedbeef007-gro...@yahoo.com.au wrote: > > > > > > > On Jun 26, 8:28 am, eharsh...@gmail.com wrote: > > > > Hi, > > > i'm developing a software for windows xp that will have an option to > > > turn off the monitor > > > i found one way to do that by changing the refresh rate of the monitor > > > to unsupported refresh rate, > > > but this way is not good because some monitor supports this mode and > > > some not. > > > i sure that there is another way because in windows there is an option > > > to turn off the monitor after x minutes, > > > so what is the API for this operation? > > > In Google, this stringhttp://www.google.com.au/search?hl=en&q=winxp+api+turn+off+monitor&bt... > > finds this result.http://www.codeproject.com/KB/cs/Monitor_management_guide.aspx > > > Good luck. > > Thanks a lot, did the job! > -- Weird, i tried to search it in google and all i got is "shut down > monitoring" programs... when i changed the word 'monitor' with > 'screen' nothing found... > anyway, thanks again.- Hide quoted text - > > - Show quoted text - Glad you got it working.
Recommended Posts