Don't know if it matters, but i use:
SendMessage seemed to have problems with certain messages.Code:PostMessage hwnd, WM_CLOSE, 0&, 0&
Also, you might want to call
to unembed the program.Code:SetParent hProgramWnd, 0&
If that doesn't work, make sure hProgramWnd has a value in it, and that WM_CLOSE = &H10.
There's also the CloseWindow API.



LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks