Creates a new GdPicture Image from a window handle.
public int CreateGdPictureImageFromHwnd( IntPtr HANDLE );
Public Function CreateGdPictureImageFromHwnd( ByVal HANDLE As IntPtr ) As Integer
|
Parameters |
Description |
|
HANDLE |
A Window Handle IE: Me.Handle. This must be a top-level window or a child of a top level window. |
0: The image could not created. Use the GetStat() function to determine the reason this function failed.
Non-zero: GdPicture Image Identifier. The created image.
If success, set the created image as a GdPicture image.
You can get the Windows Desktop hwnd with the GetDesktopHwnd function.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|