Selects a tab in a tab control. This is a simple
wrapper around Win32 function (actually a macro).
$prev_idx = TabCtrl_SetCurSel( $hwnd, $item );
-
$hwnd
Handle to the tab control
-
$item
Index of the tab to select
Returns the index of the previously selected tab if successful,
or -1 otherwise.