in a part file, how to select the items in 'sketch1' by mouse click or mouse draging

hi,

     in a part file, how to select the items in 'sketch1' by mouse click or mouse draging?

     i just want to get the names of the selected sketch items when user click or drag the mouse.

     please give me a piece of code, thanks.

SolidworksApi macros