Share via


msSiteModeActivate method

Flashes the pinned site taskbar button.

This method is not supported for Windows apps using JavaScript.

 

Syntax

HRESULT retVal = object.msSiteModeActivate();

Parameters

This method has no parameters.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK

The operation completed successfully.

E_NOTIMPL

This method is not supported on Windows CE.

 

Standards information

There are no standards that apply here.

Remarks

Use IShellUIHelper4::msSiteModeActivate to notify the user of important application events. This method flashes the taskbar button 20 times, then highlights the button continously until the window comes to the foreground. If the window is already in the foreground, this method does nothing.