Quoting Bryce Harrington <bryce@...260...>:
Okay, although I know mental is putting in some long weeks at work... Mental, is this something that is within your capacity between now and the 1st?
No.
If not, could someone else be interested in being Mental's wingman on this issue? If it's what I think it is, it shouldn't be too hard, you just need to grok how the layer data structures and hook up some UI code, I think.
See layer-fns.h for functions for determining the next/previous layer relative to another (you can use SPDesktop::currentLayer to determine the current layer). They're already used for the non-selection-moving commands (you can look at those for more specifics).
The more "interesting" part is grabbing a bunch of arbitrary objects and moving them to the same destination while preserving transforms, etc (and preserving relative stacking order!). The copy/paste code might prove somewhat helpful as a model just to get something out the door, even if it's kind of icky.
What I had hoped to do is write a couple generic functions that took lists of SPObjects and either moved or copied those objects as children of a specified SPObject. That's the hard part I probably don't have time for...
-mental