Create a new layer behind all existing layers, using supplied callback BackFill hook.
Source position: layers.pas line 91
| function CreateBehindHookLayer( | 
| li: pLayer_Info; | 
| bm: pBitMap; | 
| x0: LongInt; | 
| y0: LongInt; | 
| x1: LongInt; | 
| y1: LongInt; | 
| flags: LongInt; | 
| hook: pHook; | 
| bm2: pBitMap | 
| ):pLayer; | 
| li | 
 | pointer to LayerInfo structure | 
| bm | 
 | pointer to common BitMap used by all Layers | 
| x0 | 
 | left corner of layer | 
| y0 | 
 | upper corner of layer | 
| x1 | 
 | right corner of layer | 
| y1 | 
 | lower corner of layer | 
| flags | 
 | various types of layers supported as bit sets. Flags: LAYER* | 
| hook | 
 | BackFill callback Hook | 
| bm2 | 
 | pointer to optional Super BitMap | 
pointer to Layer structure if successful nil if not successful
Create a new Layer of position and size (x0,y0)->(x1,y1) Make this layer of type found in flags. Install Layer->BackFill callback Hook. If SuperBitMap, use bm2 as pointer to real SuperBitMap, and copy contents of Superbitmap into display layer. If this layer is a backdrop layer then place it behind all other layers including other backdrop layers. If this is not a backdrop layer then place it behind all nonbackdrop layers.
Attention
When using bm2 SuperBitmap, you should also set LAYERSMART flag.