fg_vb2clip()Win32 DirectX Fastgraph/Light Prototype int fg_vb2clip (int minx, int maxx, int miny, int maxy); Function fg_vb2clip (ByVal minx As Long, ByVal maxx As Long, ByVal miny As Long, ByVal maxy As Long) As Long function fg_vb2clip (minx, maxx, miny, maxy : integer) : integer; Description The fg_vb2clip() function copies a rectangular region from the active virtual buffer to the Windows clipboard. A DIB is constructed from the specified region, and the DIB along with its palette data are written to the clipboard. The region's extremes are expressed in screen space units. Parameters minx is the x coordinate of the source region's left edge. maxx is the x coordinate of the source region's right edge. It must be greater than or equal to the value of minx. miny is the y coordinate of the source region's top edge. maxy is the y coordinate of the source region's bottom edge. It must be greater than or equal to the value of miny. Return value 0 = Success -1 = Another application has control of the clipboard -2 = There is not enough free global memory to create the DIB Restrictions none See also Examples
|
 
copyright 2001 Ted Gruber Software, Inc.