SHOWIMAGE |
Top Previous Next |
Syntax SHOWIMAGE(win as WINDOW,handle as UINT,type as INT,x as INT,y as INT,OPT w as INT,OPT h as INT,OPT flags as INT) Description Draws a previously loaded IMAGE, ICON or EMF in the window specified. Parameters win - Window to display image into. handle - Handle to image returned from LOADIMAGE. type - Type used with LOADIMAGE. x, y - Coordinate for upper left corner of image. w, h - Optional width and height. flags - Optional BitBlt flags for @IMGBITMAP type. Return value None Remarks The optional flags variable is for advanced use and are passed directly to the WIN32 BitBlt function. w and h allow scaling an image, if omitted the size of the image is determined from the file when loading. The @IMGICON type ignores w an h. See Also: LOADIMAGE Example usage SHOWIMAGE win1, mybitmap, @IMGBITMAP, 0, 0 |