Resources | Resources |



Example: Using the IBacklight interface in an applet

This example shows how an applet can enable and disable the backlight using a check box widget.

static void c_backlight_app_CheckCallback(IBacklight* pibl, ModelEvent* pme)
   ... Retrieve checkbox state into bEnabled...
   if (bEnabled){
   else {

Note: A complete sample application entitled, which includes all the files you need to build the complete application in Microsoft Visual Studio 2005, is attached to this technology guide. The application demonstrates the complete functionality of the IBacklight interface.