Lorenzo,
i am not sure what kind of example you need, so please describe the whole
idea, what you want to achieve with this and then we can point you to
correct path
I went hunting and found what I was looking for. The API was
Call PostMessage(hWnd, WM_CLOSE, 0&, ByVal 0&). This did the trick.
Thx again for persuing my post, your response is appreciated.