December 21, 2024

Dynamic Windows Function [dw_notebook_page_destroy]

Syntax

void dw_notebook_page_destroy(HWND handle, unsigned long pageid)

Parameters

HWND handle: Handle to the notebook widget.
unsigned long pageid: ID of the page to be destroyed.

Description

Remove a page from a notebook.

Remarks

The contents of the notebook page will be destroyed as well.

Prior to 3.3 this API incorrectly used int instead of long for the page ID. While in practice this would likely never be a problem, in 3.3 it was corrected to accept long.