home *** CD-ROM | disk | FTP | other *** search
- gadutil.library/GU_BlockInput gadutil.library/GU_BlockInput
-
- NAME
- GU_BlockInput -- Block all input to a window.
-
- SYNOPSIS
- GU_BlockInput(window)
- A0
-
- VOID GU_BlockInput(struct Window *);
-
- FUNCTION
- Changes the window's pointer to the standard wait pointer (OS 2.0)
- or the preferred wait pointer (OS 3.0+) and opens a requester to
- block the user input of the given window. The requester that is
- opened is not visible.
-
- INPUTS
- window - the parent window for the requester. This is the window
- that will be blocked for user input.
-
- EXAMPLE
-
- BlockInput(myWin);
- About();
- FreeInput();
-
- Will block the parent window for user input while displaying the
- About requester of a program.
-
- SEE ALSO
- GU_FreeInput()
-