window_remove_callback_c
status.i4.v = window_remove_callback_c(type.i4.v, callback_id.i2.v)
This function will remove a window modification callback registration
which was previously made with window_add_callback_c.
type type of callback
(WMNGR_PRE_CREATE_CALLBACK -> callback is invoked just
before a window is
created,
WMNGR_CREATE_CALLBACK -> callback is invoked after
a window is created,
WMNGR_CHANGE_CALLBACK -> callback is invoked when
a window is modified,
WMNGR_PRE_DELETE_CALLBACK -> callback is invoked just
before a window is
deleted,
WMNGR_DELETE_CALLBACK -> callback is invoked after
a window is deleted,
WMNGR_DELETE_REQUEST_CALLBACK -> callback is invoked
if a window delete
request is made,
WMNGR_CHANGE_PARAM_CALLBACK -> callback is invoked
if a global parameter
is modified)
callback_id callback registration ID which was returned
by the window_add_callback_c routine
This function returns status values as follows:
OK success
CBS_INVARG invalid callback type or ID requested
CBS_NO_SUCH requested ID does not exist
This function requires the following include files:
cbslib_h, acnet_errors_h
Related functions:
window_add_callback_c, window_callback_init,
window_callback_term, window_register_function_c,
window_unregister_function_c, intro_tv_windows
C/C++ usage:
short callback_id;
int status;
int type = WMNGR_CREATE_CALLBACK;
status = window_remove_callback_c(type,callback_id);