From: Tim Roberts on

aparna <aparnakakkar2003(a)gmail.com> wrote:
>
>Let me explain ...
>Right click->properties->screen saver tab->Power Button
>Power Schemes for laptops...
>There is one option..turn off monitor after given time.
>
>I want to capture that event..and want to know API call which will
>give me value if display is ON/OFF.

That can be done:

http://msdn.microsoft.com/en-us/library/aa373195.aspx
--
Tim Roberts, timr(a)probo.com
Providenza & Boekelheide, Inc.
From: aparna on
On May 24, 7:41 am, Tim Roberts <t...(a)probo.com> wrote:
> aparna <aparnakakkar2...(a)gmail.com> wrote:
>
> >Let me explain ...
> >Right click->properties->screen saver tab->Power Button
> >Power Schemes for laptops...
> >There is one option..turn off monitor after given time.
>
> >I want to capture that event..and want to know API call which will
> >give me value if display is ON/OFF.
>
> That can be done:
>
> http://msdn.microsoft.com/en-us/library/aa373195.aspx
> --
> Tim Roberts, t...(a)probo.com
> Providenza & Boekelheide, Inc.

Thank you for the reply but
RegisterPowerSettingNotification is supported only on vista,I want for
WinXp.

Thanks
Aparna
First  |  Prev  | 
Pages: 1 2
Prev: Display ON/OFF
Next: 'int3' Question