03-14-2011 08:08 AM
hi
I want to show a image (bitmap) and i want him to move with the mouse.
I'm use "GetRelativeMouseState" to get coordinations of the mouse and i want that the image will move by the coordinations.
Ther is a function that can do this?
03-14-2011 08:28 AM
You can use SetCtrlAttribute (, , ATTR_TOP, ); and SetCtrlAttribute (, , ATTR_LEFT, ); to position the picture control.
Hth,
Wolfgang
03-17-2011 03:50 PM
Hi
This should do what you want. (see attachment) Build and run the project. The canvas will follow the mouse wherever it goes.
Ryk