SetPicture method
Available for Window, MDIWindow, DialogBox, Button, Picture and Image objects.
Syntax
Invoke SetPicture, hWnd, hPicture
Function
Sets the Picture property for an object (see REMARKS).
Parameters
hWnd
Handle to the object.
hPicture
A DD value specifying the new picture for the object.
Return value
Eax returns TRUE if succesful, or FALSE if not.
REMARKS: The hPicture parameter may be an existing
resource ID or the handle to an image (bitmap, icon or cursor). First, Easy Code tries to load it as a resource
(only if it is less than 65536) and, if it fails, then it is processed as a handle.