TheQ111798
asked on
shameless sendmessage (?)
I have looked for examples in vb dealing with closing an app. window I have set as a child in a midi. I am doing this with sendmessage but the examples I have seen don't work
ex. :
RetVal = SendMessage(ChildhWnd, WM_CLOSE, WM_CLOSE, 0&)
RetVal = SendMessage(ChildhWnd, WM_SYSCOMMAND, SC_CLOSE, 0&)
ex. :
RetVal = SendMessage(ChildhWnd, WM_CLOSE, WM_CLOSE, 0&)
RetVal = SendMessage(ChildhWnd, WM_SYSCOMMAND, SC_CLOSE, 0&)
ASKER
The child is actually an application I am running in the midiform (not a form in my projectZ), so I only have a handle on it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
frmChild.Show
Close frmChild