Another bug is when you select something on the pixel level, then move it then apply the selection if you select it again, then if you move it again, it won't be on the correct spot anymore. I have no idea why this: parent.picseltemp.Cls
Call BitBlt(parent.picseltemp.hDC, totalmoveX, totalmoveY, 1024, 1024, parent.pic1024selection.hDC, 0, 0, vbSrcCopy)
parent.pic1024selection.Cls
'parent.picseltemp.refresh
Call BitBlt(parent.pic1024selection.hDC, 0, 0, 1024, 1024, parent.picseltemp.hDC, 0, 0, vbSrcCopy)
'parent.pic1024selection.refresh is in selection mouseup, but its totally unneccesary, because it was already moved on the fly in in mousemove, if you add the totalmove AGAIN you'll move 2x (its not onpreview in mousemove, it actually moves) DCME window being out of screen when not maximized is fixed DCME can't abort operations because it didn't held the state before doing the operation on selections, you tried selecting everything around the line instead of the line itself And some more weiiiiiiird stuff If Not selectionmoved Then
selstate = notdrawing
Exit Sub
End If in sel.mouseup This effectively screws up anything trying to select & move with magicwant, makes my selection box go nuts, and i completely fail to see for what it's used. Same goes for selectioncancelled... there is no way that can ever be true, because it's a single threaded process, if you click somewhere, while it is still in some method doing stuff, it gets added to the message queue, vb checks the queue when it goes back to the main loop behind the scenes. You can't abort an operation unless you call DoEvents to give the message a chanche to get sent, so the message can get through For the toolbar, i wanted to have an optimal space for the map itself, so i hid the toolbar when it wasn't used for anything (i'll make an option to pin/unpin the toolbar) Rotation bug has been fixed (the newboundaries that were used to redim the tmpobjects array changed afterwards because of out of map checks, tmpobjects are now redimmed after the newboundaries are final)