home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / D-G / FKeys ƒ / SendToBack.c < prev   
Encoding:
C/C++ Source or Header  |  1988-11-29  |  518 b   |  27 lines  |  [TEXT/KAHL]

  1.  
  2. /*
  3.     SendToBack FKey #8  --  Version 1.00  --  Nov 28, 1988
  4.     
  5.     Copyright (c) 1988 by Neal E. Trautman
  6.     
  7.     'ShareWare' -- Please send $2 contribution to:
  8.         Neal Trautman
  9.         1701 S.W. 42nd Street
  10.         Fargo, ND  58103
  11.     
  12.     This FKey sends the FrontWindow to the back of the Window List.
  13.         (Behind all other windows...)
  14. */
  15.  
  16. main()
  17. {
  18.     register WindowPtr    win;
  19.     
  20.     win = FrontWindow();
  21.     if ((win) && ((((WindowPeek)win)->goAwayFlag) ||
  22.             (((WindowPeek)win)->windowKind != dialogKind)))
  23.         SendBehind(win,0L);
  24.     else
  25.         SysBeep(2L);
  26. }
  27.