There is one button such as “Close” which is used to close window and call Postquery_close event on click of this button only.When i am directly closing the window by clicking the “x” in the window , it is also calling the PostQuery_close event.
i want to call “PostQuery_Close” event only when i will click the button, it should n’t called when i close the window directly by clicking “X” of window bar properties.