Hi all,
I am creating a project in which I have to create simple graphic editor.
Christophe and Russell Campbell had kindly advised me to subclassed shape
control and add appropriate properties/methods (pls refer to the thread
entitled 'Drawing ability on VFP Apps' on this ng). I did what they've told
me and my apps managed to 'draw' an object, fill appropriate values to its
properties, and saved those value to a table for further use (--- like load
the drawing).
But I have three problems:
1. How to set the mouse pointer such that:
- it will change to north-south-east-west arrow when the mouse is *in*
the shape
- it will change to north-south arrow when the mouse is *on* the top or
bottom edge of the shape
- it will change to east-west arrow when the mouse is *on* the left or
right edge of the shape.
2. I want to add the ability to 'stretch' the rectangle (like most of
commercial Windows-based applications) by dragging the mouse on the edge of
the shape. How can I do that?
3. And how to add the ability to 'move' the rectangle by dragging the mouse
in the shape?
I am looking forward to hearing from all of you!
TIA,
Willianto