[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
--------------------------------------------------------------------------------
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
METHODS
--------------------------------------------------------------------------------
New Constructor from source code
Define Constructor for resources
ReDefine Constructor for resources
Command Processes WM_COMMAND WinApi messages
GetDlgCode Returns the desired kind of keystrokes
GotFocus Action to be performed when getting the focus
Display Displays the bitmap. Use :Refresh() instead to force it.
Default Default initialization of the Bitmap
cToChar Generates a data template to build a Dialog
Init Generic initialization
Paint Draws the bitmap
Release Destroy the bitmap.
Reload Load again a bitmap
Resize Changes the dimension of the bitmap
SetBmp Load bitmap from resource.
Load Load the bitmap from resources
LoadBmp Load bitmap from disk.
LButtonDown Behavior when clicking the mouse over it
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
ScrollUp Scrolls the bitmap UP if lScroll is .t.
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.
ScrollAdjust Updates the values on the scrollbars
VScroll Vertical ScrollBar messages dispatcher
HScroll Horizontal ScrollBar messages dispatcher
Note: The ScrollXXX Methods assume that lScroll is TRUE AND that
the BitMap is larger than the visable area
seealso: TControl.eho:TControl Bitmap.eho:Bitmap
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson