quote:
Originally posted by whiz
Edit: I really doubt the feasibility of this, but I'm going to ask anyway. Is there a way of working out the co-ordinates of a rectangle drawn with the mouse onto a Plus! window? Would this need a certain control? If this isn't possible, would I be able to record two clicks (one for the top-left, one for the bottom-right)?
It certainly should be possible. You would have to deal with drawing the rectangle yourself using GDI or whatever, but you would basically just have to handle mouse messages (WM_LBUTTONDOWN,WM_MOUSEMOVE,etc.) and redraw the rectangle each time. Unfortunately there's no magic control that does this for you that I know of, but it shouldn't be too hard to implement.