Brdsblsky
asked on
Graphics Selection
I want to be able to select a certain part of a picture or graphic to move, copy, or cut. How Can I do this?
Brdsblsky,
You'll have to do this manually. I don't have a code example ready, but basically:
a) on the mouse_down event, save the current position in rStart
b) on the following mouse_up event, save the now current position in rEnd. This gives you the target rectangular.
c) use BitBlt or similar procedures to copy the selection from your form into a picture.
You'll have to do this manually. I don't have a code example ready, but basically:
a) on the mouse_down event, save the current position in rStart
b) on the following mouse_up event, save the now current position in rEnd. This gives you the target rectangular.
c) use BitBlt or similar procedures to copy the selection from your form into a picture.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER