Important: The information in this document is obsolete and should not be used for new development.
ShowHide
Use theShowHideprocedure to set a window's visibility status.
PROCEDURE ShowHide (theWindow: WindowPtr; showFlag: Boolean);
- theWindow
- A pointer to the window's window record.
- showFlag
- A Boolean value that determines visibility status:
TRUEmakes a window visible;FALSEmakes it invisible.DESCRIPTION
TheShowHideprocedure sets a window's visibility to the status specified by theshowFlagparameter. If the value ofshowFlagisTRUE,ShowHidemakes the window visible if it's not already visible and has no effect if it's already visible. If the value ofshowFlagisFALSE,ShowHidemakes the window invisible if it's not already invisible and has no effect if it's already invisible.The
ShowHideprocedure never changes the highlighting or front-to-back ordering of windows and generates no activate events.
- WARNING
- Use this procedure carefully and only in special circumstances where you need more control than that provided by
HideWindowandShowWindow. Do not, for example, useShowHideto hide the active window without making another window active.![]()