TCN_SELCHANGING notification code

Notifies a tab control's parent window that the currently selected tab is about to change. This notification code is sent in the form of a WM_NOTIFY message.

TCN_SELCHANGING 

    lpnmhdr = (LPNMHDR) lParam; 

Parameters

lParam

Pointer to an NMHDR structure that contains additional information about this notification.

Return value

Returns TRUE to prevent the selection from changing, or FALSE to allow the selection to change.

Remarks

To determine the currently selected tab, use the TabCtrl_GetCurSel macro.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

TCN_SELCHANGE