Moving the Image

The following function, which drags the image to a new location, is intended to be called in response to the WM_MOUSEMOVE message.

// MoveTheImage - drags an image to the specified coordinates.

// Returns TRUE if successful or FALSE otherwise.

// ptCur - new coordinates for the image

BOOL MoveTheImage(POINT ptCur)

{

if (!ImageList_DragMove(ptCur.x, ptCur.y))

return FALSE;

return TRUE;

}

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database