//docs/MPGui.doc/MPGuiWindow


   NAME   
  MPGuiWindow -- Returns the Window for an MPGui. (V5)

   SYNOPSIS
  Window = MPGuiWindow(gh)
  D0                   A0

  struct Window *MPGuiWindow(struct MPGuiHandle *);

   FUNCTION
  Returns the Window for an MPGui.

   INPUTS
  gh    - MPGuiHandle allocated by AllocMPGuiHandle().

   RESULT
  The Window for the GUI - if open.

   EXAMPLE

   NOTES
  Use in a call back hook - e.g. if a menu item opens a file requester.

   BUGS

   SEE ALSO
  AllocMPGuiHandleA(), SyncMPGuiRequest().