This function retrives the main STAAD.Pro window handle.
VB Syntax
GetMainWindowHandle ()
VB Example
Dim objOpenSTAAD As Object
'Get the application object
Set objOpenSTAAD = GetObject( , "StaadPro.OpenSTAAD")
'Get Main Window Handle
objOpenSTAAD.GetMainWindowHandle