Share via


TCN_SELCHANGE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message notifies a tab control's parent window that the currently selected tab has changed. It is sent in the form of a WM_NOTIFY message.

Syntax

TCN_SELCHANGE lpnmhdr = (LPNMHDR) lParam; 

Parameters

  • lpnmhdr
    Long pointer to an NMHDR structure. The hwndFrom member is the handle to the tab control. The idFrom member is the child window identifier of the tab control. The code member is TCN_SELCHANGE.

Return Value

None.

Remarks

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

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

TabCtrl_GetCurSel
WM_NOTIFY
NMHDR