Jump to content

is there is any way to turn off the screen programatically?


Recommended Posts

Guest eharshosh@gmail.com
Posted

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?

  • Replies 3
  • Created
  • Last Reply

Popular Days

Guest cornedbeef007-groups@yahoo.com.au
Posted

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

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

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.


×
×
  • Create New...