Share via


System.Gadget.onShowSettings Event

Event fired when the gadget Settings dialog is requested.

Syntax

retVal = System.Gadget.onShowSettings(
  handler
)

Parameters

  • handler
    The name of the function to call when the event is fired.

Examples

The following example demonstrates how to use the onShowSettings event.

// Delegate for the show settings event. 
System.Gadget.onShowSettings = SettingsShow;

// --------------------------------------------------------------------
// Handle the Settings dialog show event.
// --------------------------------------------------------------------
function SettingsShow()
{
    SetContentText("Settings opening.");
}

Requirements

Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
IDL Sidebar.idl
DLL Sidebar.Exe version 1.00 or later

See Also

System.Gadget

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK