Selection Dialog with API

Hi guys,

Please around with solidworks, I found the following dlg, under the tab , could anyone tell me whether it is possible to create such dialog with API? and how?

what I need is to create a small box as shown in the dialog, when user select any entity, the selected entity can be saved in the box.

thanks & best regards

john

SolidworksApi macros