Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>method resize class twindow</b> http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 METHOD ReSize CLASS TWindow
--------------------------------------------------------------------------------
   TWindow:ReSize( <nSizeType>, <nWidth>, <nHeight> )  --> 0

Parameters:

<nSizeType>   Determines the type of resize operation that is executed.

              Specifies the type of resizing requested. This parameter can be
              one of the following values:

              Value   Meaning

              SIZE_MAXIMIZED  Window has been maximized.
              SIZE_MINIMIZED  Window has been minimized.
              SIZE_RESTORED   Window has been resized, but neither the
              SIZE_MINIMIZED  nor SIZE_MAXIMIZED value
                              applies.
              SIZE_MAXHIDE    Message is sent to all pop-up windows when some
                              other window is maximized.
              SIZE_MAXSHOW    Message is sent to all pop-up windows when some
                              other window has been restored to its former size.

              #define SIZE_RESTORED       0
              #define SIZE_MINIMIZED      1
              #define SIZE_MAXIMIZED      2
              #define SIZE_MAXSHOW        3
              #define SIZE_MAXHIDE        4

<nWidth>      The new width of the window in pixels.

<nHeight>     The new height of the window in pixels.

Purpose:
This method is called whenever the window is resized. It receives
information about the new size and how the resizing came to be (ie the
window was maximized, minimized etc.). In turn the Resize() method will
call the adjust methods of both Buttonbar and the messagebar (if
available) to adjust their size also. After that a call is made to the
bResized instance variable (if available) with both the width and the
height passes as parameters to the bResized codeblock.

Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson