To show Custom Property Dialogue Box through api

Hi,

   I am writing a code in which, i want to give user to the access to the custom property dialogue box. I used

Application.SldWorks.RunCommand swCommands_File_Summaryinfo, ""

It will throw the custom property window through API.However, macro doesn't wait till user updates the value and press 'OK'.

How can i achieve it??

Thanks in advance

Omkar

SolidworksApi macros