home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / float.zip / float.doc < prev    next >
Text File  |  1993-05-03  |  3KB  |  79 lines

  1. float version 1.0 (05/02/93) - a simple utility to keep windows floating
  2.  
  3. This tiny utility keeps a window floating on top of others.  One float
  4. process keeps one window floating (you can run as many float processes
  5. as you like).
  6.  
  7.  
  8. To float a window,
  9.  
  10.     1) open the window to be floated and make it showing on screen;
  11.  
  12.     2) type the following in a command prompt:
  13.  
  14.         float interval-in-ms partial-taskname
  15.  
  16.     where:
  17.  
  18.         interval-in-ms: floating action interval in milliseconds.
  19.  
  20.             The shorter this interval is, the more frequently the window
  21.             is moved to the top, but the process takes away more CPU time.
  22.             1000 (once a second) usually works well.
  23.  
  24.         partial-taskname: the name of the window that is in the task list.
  25.  
  26.             This doesn't have to be the exact name; the program finds the
  27.             first matching one (e.g., "System Cl" usually works for "System
  28.             Clock").
  29.  
  30.             Not only running programs but Workplace Shell views also (usually)
  31.             appear in the task list, so you can have floating folder views
  32.             (which sort of become 'tool bars'), too.
  33.  
  34.             Note also that, if you know the window handle of any frame window
  35.             (no matter whether it is in the task list or not), you can float
  36.             it by using the following format as the partial-taskname argument:
  37.  
  38.                 "0xHHHHHHHH"    for hexadecimal entry (e.g., "0x3012Ab32")
  39.                 "0DDDDDDDD"     for decimal entry (e.g., "010925644")
  40.  
  41.  
  42.     To make it look nicer, use 'start' as follows:
  43.  
  44.         start "floating OS/2 System" /MIN /PGM float 1000 "OS/2 System"
  45.  
  46.     This will start 'float' process minimized, and also shows the process
  47.     in the task list as "floating OS/2 System" (this is handy when you have
  48.     many float processes).
  49.  
  50.     3) to stop floating, kill the float process by hitting ctrl-C.
  51.  
  52.  
  53. Under virtual desktop programs like CVS (by Carrick von Schoultz), floating
  54. windows keep their positions on screen.
  55.  
  56. The program is compiled with IBM C Set/2, but I don't think I am using
  57. anything specific to IBM C (except maybe the compile option; this is
  58. compiled without C runtime code to make it smaller).
  59.  
  60.  
  61. This program is freeware; feel free to modify the source to suit your needs.
  62.  
  63. Questions or suggestions are always welcome, although I may not have time
  64. to do much improvement myself for a while.
  65.  
  66. I don't have my own account, but my colleagues will forward emails to me
  67. (please put my name in the subject line):
  68.  
  69. Compuserve: 72370,2000 (Jim Pearson)
  70. internet: axilleas@playfair.stanford.edu (Achilles Venetoulias)
  71.  
  72.  
  73.                                                     Makoto Nagata
  74.  
  75.                                                     555 California Street
  76.                                                     San Francisco, CA 94104
  77.  
  78.                                                     (415) 622-0389
  79.