Unbinds events for a windows which was previously bound with BindEventsEx.

UnbindEventsEx(nHwnd [, nMsg [, bClass]])

Parameters

nHwnd

Specifies the handle of the window for which events are unbound.

nMsg (optional)

The message which should be unbound.
If you omit the nMsg parameter or pass 0 all messages are unbound and the window is unsubclassed.

bClass (optional)

default = .F.

If you subclassed a windowclass with the BINDEVENTSEX_CLASSPROC flag you have to pass .T. in this parameter.

Return Value

Always .T.

See Also

Reference

AsyncWaitForObject
BindEventsEx
CancelWaitForObject
CreateCallbackFunc
CreatePublicShadowObjReference
DestroyCallbackFunc
ReleasePublicShadowObjReference

Used WinApi functions

SetWindowLong
SetClassLong