% File src/library/grDevices/man/windows/msgWindow.Rd % Part of the R package, http://www.R-project.org % Copyright 2008 R Core Team % Distributed under GPL 2 or later \name{msgWindow} \alias{msgWindow} \title{Manipulate a Window} \usage{ msgWindow(type = c("minimize", "restore", "maximize", "hide", "recordOn", "recordOff"), which = dev.cur()) } \arguments{ \item{type}{action to be taken.} \item{which}{a device number, or \code{-1}.} } \description{ \code{msgWindow} sends a message to manipulate the specified screen device's window. With argument \code{which = -1} it applies to the GUI console (which only accepts the first three actions). } \seealso{ \code{\link{bringToTop}}, \code{\link{windows}} } \keyword{device}