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>class tbitmap</b> bitmaps controls http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Class TBitmap      Bitmaps controls
--------------------------------------------------------------------------------

 Inherits from TControl

 DATA
--------------------------------------------------------------------------------
  nX             Relative origin coordinates of the picture.
  nY             Relative origin coordinates of the picture.
  hBmpPal        Handle and palette of the Bitmap
  cBmpFile       Name of the BMP file to display
  cResName       Name of the BMP resource to display
  lStretch       True if image has to be adjusted to all visible area
  lScroll        True if image may be scrolled into its own visible area
  aHotAreas      An array with some hot-areas on the bitmap
  nVStep         Units to scroll on vertical scroll
  nHStep         Units to scroll on horizontal scroll
  nZoom          Units to zoom the picture.

 METHODS
--------------------------------------------------------------------------------
  New             Constructor from source code
  Define          Constructor for resources
  ReDefine        Constructor for resources
  End             Ends control and make it disappear
  Command         Processes WM_COMMAND WinApi messages
  Default         Default initialization of the Bitmap
  Destroy         Destroy the bitmap object.
  Display         Displays the bitmap. Use :Refresh() instead to force it.
  GotFocus        Action to be performed when getting the focus
  HScroll         Horizontal ScrollBar messages dispatcher
  Init            Generic Control initialization method
  Inspect         Interactive load of Bitmap.
  LButtonDown     Action to be performed when clicking the mouse.
  Load            Load the bitmap from resources
  LoadBmp         Load bitmap from disk.
  nHeight         Retrieves height of the image.
  nWidth          Retrieves width of the image.
  nXExtra         Retrieves the size of image which it is not visible
  nYExtra         The same for the other axis
  Paint           Draws the bitmap
  Reload          Load again a bitmap
  Resize          Changes the dimension of the bitmap
  ScrollAdjust    Updates the values on the scrollbars
  ScrollDown      Scrolls the bitmap DOWN if lScroll is .t.
  ScrollLeft      Scrolls the bitmap LEFT if lScroll is .t.
  ScrollRight     Scrolls the bitmap RIGHT if lScroll is .t.
  ScrollUp        Scrolls the bitmap UP if lScroll is .t.
  SetBmp          Load bitmap from resource.
  SetFore         Set this bitmap palette as the main active palette
  VScroll         Vertical ScrollBar messages dispatcher
  Zoom            Zoom the picture.


 Note:  The ScrollXXX Methods assume that lScroll is TRUE AND that
        the BitMap is larger than the visible area


See Also: TControl Bitmap

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson