WinXClip_GetImage


WinXClip_GetImage ()

Gets an image from the clipboard

Parameter Description

Returns

The handle to the image or 0 on fail

Remarks

The returned handle can be used with any of the WinX image functions.

Examples

' Get an image from the clipboard and display it
hImage = WinXClip_GetImage ()
IF hImage THEN
  WinXDraw_GetImageInfo (hImage, @w, @h, @pBits)
  WinXDrawImage (#hMain, hImage, 0, 0, w, h, 0, 0, $$FALSE)
END IF

Related Links

WinXClip_IsImage
WinXClip_PutImage
onClipChange (Callback)
WinXDrawImage
WinXDraw_GetImageInfo