GetCurrentWnd ()

Returns the handle of the active, front-most source file window, or returns hNil if no windows are open.