Page 1 of 1

Boxer - graphical class to draw, resize, drag and drop rectangles

Posted: 17 Nov 2010 11:21
by Steve Lympany
Here is a Vip7.3 "graphical" project (but not GDI+) with the following classes:

boxer - the main class, for creating and dragging rectangles. It uses the following classes:

drag_draw_line - draws a line as it is being dragged
drag_draw_rect - draws a rectangle as it is being dragged (translated or resized)
kursor - for managing cursors i.e. when the mouse moves and goes over a vertical line, the cursor will change to cursorsizeWE.

Steve Lympany