hi,

I configured my PocketPC to switch off the backlight after 30 seconds.
Now I would like to switch on the backlight, when a special event
appears in my program.

I am using .Net Compact Framework 2.0 and C#

Regards

Michael


--
http://www.mchme.com

RE: how to switch backlight off by srhartone

srhartone
Fri Mar 14 13:21:01 CDT 2008

You could emulate a keyboard press using keybd_event but you'll have to
P/invoke this function. See here for how to code it:
http://pinvoke.net/default.aspx/coredll.keybd_event
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"Michael Meyer" wrote:

> hi,
>
> I configured my PocketPC to switch off the backlight after 30 seconds.
> Now I would like to switch on the backlight, when a special event
> appears in my program.
>
> I am using .Net Compact Framework 2.0 and C#
>
> Regards
>
> Michael
>
>
> --
> http://www.mchme.com
>

Re: how to switch backlight off by Michael

Michael
Sat Mar 15 00:44:41 CDT 2008


Hi,

thanks. I will use this.

Do you know also a possibility to check the status of the backlight
(on/off)?

Regards

Michael

Simon Hart [MVP] schrieb:
> You could emulate a keyboard press using keybd_event but you'll have to
> P/invoke this function. See here for how to code it:
> http://pinvoke.net/default.aspx/coredll.keybd_event


--
http://www.mchme.com

Re: how to switch backlight off by srhartone

srhartone
Tue Mar 18 11:13:01 CDT 2008

If running WM5 > have you looked at SNAPI, not sure if this will help you.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"Michael Meyer" wrote:

>
> Hi,
>
> thanks. I will use this.
>
> Do you know also a possibility to check the status of the backlight
> (on/off)?
>
> Regards
>
> Michael
>
> Simon Hart [MVP] schrieb:
> > You could emulate a keyboard press using keybd_event but you'll have to
> > P/invoke this function. See here for how to code it:
> > http://pinvoke.net/default.aspx/coredll.keybd_event
>
>
> --
> http://www.mchme.com
>