wb_destroy_control

bool wb_destroy_control(int control)

Destroys a control created by wb_create_control().

Returns TRUE on success or FALSE if an error occurs.

Tip

It is often preferable to hide a control instead of destroying it. To hide a window, use wb_set_visible() with parameter visible set to FALSE.

See also

wb_create_control
wb_set_visible
Control functions