Home > Archive > Smartphone Developer Forum > March 2006 > wake the device while he is in screen save mode
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
wake the device while he is in screen save mode
|
|
| email.oren@gmail.com 2006-03-14, 3:58 am |
| Hi All,
is there a way (I'm sure there is, I've just have to know how to do
it...) to wake the device while he is in screen save mode?
for example, when I got something from the server and the screen is in
save mode, to wake the device with my new content.
thanks,
Oren.
| |
|
| What do you mean "... to wake the device..."? Are you programming
smartphone or pocket pc? Smartphone does not sleep so there is no need
to wake it up. Probably what you want to do is SetForegroundWindow()?
Lao K
http://windowsmobilepro.blogspot.com/
| |
|
| email.oren@gmail.com wrote:
> Hi All,
>
> is there a way (I'm sure there is, I've just have to know how to do
> it...) to wake the device while he is in screen save mode?
>
> for example, when I got something from the server and the screen is in
> save mode, to wake the device with my new content.
SetSystemPowerState(0, POWER_STATE_ON, POWER_FORCE );
should do it
riki
----
When the news reporter said "Shopkeepers are opening their doors
bringing out blankets and cups of tea" I just smiled. It's like yes.
That's Britain for you. Tea solves everything.
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
Latest Betas have WM5 layout and speed dial support
|
|
|
|
|