Hem / Tips & tricks
Private Const WM_CLOSE = &H10Dim lngResult As LongDim lnghWND as Long lngResult = SendMessage(lnghWND, WM_CLOSE, 0&, 0&)