Link to home
Start Free TrialLog in
Avatar of Brdsblsky
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?
Avatar of Brdsblsky
Brdsblsky

ASKER

Adjusted points to 50
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.
ASKER CERTIFIED SOLUTION
Avatar of TheAnswerMan
TheAnswerMan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial