×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Apr 2003
    Location
    Berlin, Germany
    Posts
    58

    N7650 / C++ / Disable ScreenSaver? Keep backlight on?

    hi!

    inside a c++ application (game):

    what is the recommended way of keeping the display from going dark when there is no user input for a longer time?

    is it possible to disable the screensaver and auto-backlight-off options using the api? do i have to send EHotKeyBacklightOn every few seconds?

    and how exactly is this EHotKeyBacklightOn supposed to be used? because something like this doesn't work:

    TKeyEvent fakeBacklight;
    fakeBacklight.iCode = EKeyBacklightOn;
    fakeBacklight.iModifiers = 0;
    fakeBacklight.iRepeats = 0;
    fakeBacklight.iScanCode = EStdKeyBacklightOn;
    iSessionHandle->SimulateKeyEvent( fakeBacklight );

    with iSessionHandle being a RWsSession. is it important what session object is referenced? Or should CEikonEnv::Static( )->WsSession( ) do?


    thanks!

    dl

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    371
    Hi,

    See former posting:

    http://discussion.forum.nokia.com/fo...2Abacklight%2A

    Best Regards,
    Marko / Forum Nokia

  3. #3
    Regular Contributor
    Join Date
    Apr 2003
    Location
    Berlin, Germany
    Posts
    58
    hi marko.. again!

    thanks again..

    :-)

    dl

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •