I got two questions for programming with map point
1) is there a way to programmatically change the layer?
i'm using map point 2006 and i'm trying to make a button click that will change the layer from "Road Map" -> "Road and Data Map" and back
2) is there a way to tell if a "drawn object" (like a drawn rectangle) is selected?
my program has a "delete" button, but it is only used to delete drawn objects. so i was hoping to have the delete button disabled if nothing was selected and enabled if something was selected.
thank so much