Quantcast
Channel: VBForums - Mobile Development
Viewing all articles
Browse latest Browse all 78

Stop backlighting from dimming automatically. (wm6)

$
0
0
Hi,

How do I stop backlight to dimm automatically?

I did manage to prevent stadby with this:
Quote:

#Region "Prevent Stand-by Mode"
Public Declare Sub SystemIdleTimerReset Lib "coredll.dll" ()
' this works for stand-by, but not for backlight
' you have to manually deactivate backlight OFF from settings in mobile device
Private Sub tmr_standby_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmr_standby.Tick
SystemIdleTimerReset()
End Sub
#End Region
Thanks.

Viewing all articles
Browse latest Browse all 78

Trending Articles