wn_switch_window_delete_c
status.i4.v = wn_switch_window_delete_c(window_id.i4.v)
This routine will delete all switches associated with a graphics
window.
window_id window ID (use WN_BACKGROUND for background window)
This function returns ACNET status values as follows:
CBS_OK success
CBS_NO_SUCH no switches are defined for this window
This function requires the following include files:
cbslib_h, acnet_errors_h
Related functions:
wn_switch_delete_c, wn_switch_create_c, wn_window_has_switch_c,
wn_switch_read_c, wn_switch_pressed, wn_switch_set_state_c,
wn_switch_disable_c, wn_switch_enable_c, wn_switch_relabel_c,
switch_window_delete_c
C/C++ usage:
int status;
int window_id;
status = wn_switch_window_delete_c(window_id);