HotkeyNet: the next generation
REFERENCE
SetForegroundWindow

Brings a window to the foreground.

Syntax

SetForegroundWindow ( window );

Parameters

Window is the name or handle of a window.


Return value

True if the function succeeds; otherwise false.


Remarks

Calls the operating system function SetForegroundWindow.


Example

Function F1()
{
   SetForegroundWindow( "WoW1" );
}


Related topics

GetForegroundWindow


This page was last revised on June 14, 2009
Copyright © 2009 HotkeyNet Software