In ArcObjects, the IMapControl interface's SelectByShape does very nearly what I want it to do. That is, it selects all the features within the given shape. However, like ArcMap, I'd like to be able to set an "active" layer such that, when using SelectByShape (or some other equivalent), it selects only features in the currently active layer(s).
Is this possible? If so, how? I've scanned the help files and haven't been able to find anything. I know there's an ActiveView, but this doesn't seem to fit the bill.