[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  oWin:box( <nTop>, <nLeft>, <nBottom>, <nRight> ) -> NIL

------------------------------------------------------------------------------

 PARAMETER:

  <ntop> - <nRight>  coordinates of our box in pixels


 DESCRIPTION:

  Draws a simple box on the window. It expects the coordinates in pixels,
  relative to the window ! the best place to use this in in the ON PAINT 
  clause of a ACTIVATE WINDOW / DIALOG, because this guarantees that the
  box is repainted with the window.

  EXAMPLE:

     +-------------------------------------------------------------+
     |  /* Paint a box on Window */                                |
     |  ACTIVATE WINDOW oWin ;                                     |
     |    ON PAINT WndBoxIn( hDC, 10, 15, 215, 300 )               |
     +-------------------------------------------------------------+


 !seealso:func2.eho:"WndBox" func2.eho:"WndBoxIn" window.eho:"ACTIVATE WINDOW"


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson