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 - bitmap commands http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Bitmap Commands
--------------------------------------------------------------------------------

 Creating a bitmap from       @ <nRow>, <nCol> BITMAP [ <oBmp> ] ;
 source code                     [ NAME | RESNAME | RESOURCE <cResName> ] ;
                                 [ FILE | FILENAME | DISK <cBmpFile> ] ;
                                 [ NOBORDER | NO BORDER ] ;
                                 [ SIZE <nWidth>, <nHeight> ] ;
                                 [ OF | WINDOW | DIALOG <oWnd> ] ;
                                 [ ON CLICK | ON LEFT CLICK <uLClick> ] ;
                                 [ ON RIGHT CLICK <uRClick> ] ;
                                 [ SCROLL ] ;
                                 [ ADJUST ] ;
                                 [ CURSOR <oCursor> ] ;
                                 [ PIXEL ] ;
                                 [ MESSAGE <cMsg>   ] ;
                                 [ UPDATE ] ;
                                 [ WHEN <WhenFunc> ] ;
                                 [ VALID <uValid> ] ;
                                 [ DESIGN ] ;


 Creating a bitmap            REDEFINE BITMAP [ <oBmp> ] ;
 resources                       [ ID <nId> ] ;
                                 [ OF | WINDOW | DIALOG <oWnd> ] ;
                                 [ NAME | RESNAME | RESOURCE <cResName> ] ;
                                 [ FILE | FILENAME | DISK <cBmpFile> ] ;
                                 [ ON ClICK | ON LEFT CLICK <uLClick> ] ;
                                 [ ON RIGHT CLICK <uRClick> ] ;
                                 [ SCROLL ] ;
                                 [ ADJUST ] ;
                                 [ CURSOR <oCursor> ] ;
                                 [ MESSAGE <cMsg>   ] ;
                                 [ UPDATE ] ;
                                 [ WHEN <WhenFunc> ] ;
                                 [ VALID <uValid> ] ;

 <nRow>, <nCol>  The coordinates on screen. We simulate Text coordinates.

 <oBmp>          A reference to the Bitmap Object.

 <cResName>      The name of the bitmap resource bitmap when loading a bitmap
                     from a .RC, .RES or a .DLL file .

 <cBmpFile>      The name of the BMP file when loading a bitmap directly
                     from a BMP file.

 <nWidth>        The desired width of the bitmap.

 <nHeight>       The desired height of the bitmap.

 <oWnd>          The container window of the Bitmap control.

 <uLClick>       The action(s) to be performed when left clicking over the
                     Bitmap.

 <uRClick>       The action(s) to be performed when right clicking over the
                     Bitmap.

 <oCursor>       A reference to the Cursor Object to display over this control.

 <cMsg>          The associated message of this control.

 <nId>           The numeric resource identifier of the Control.

 <WhenFunc>      An expression indicating when this control will be
                     active or not.

 <uValid>

 CLAUSES

 NO BORDER       It does not place a border around the control.
 NOBORDER

 UPDATE          This control may be updated from TDialog:Update() METHOD

 PIXEL           To use pixel coordinates instead of Text coordinates

 SCROLL          Enable the use of scrollbars to scroll the bitmap into its
                 visible area. This let the user review bitmaps larger than
                 the control.

 ADJUST          Automatically adjusts the bitmap(s) to the size of the
                 control.

 DESIGN         Allows the user to move and resize with the mouse



See Also: TBitmap FiveWin.ch

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