next up previous contents
Next: getAppDir Up: Methods Previous: createControl   Contents


getMainWnd

Description

Gets a Window object that represents the main window of the application or screen saver.


Syntax

getMainWnd()


Parameters

None


Returns

A Window Object.


Example

//Close the projector
var mw = getMainWnd();
mw.Close();




Copyright ©2000-2007 Shanghai TopCMM Software Technologies. All Rights Reserved.