TCN_SELCHANGE (Windows CE 5.0)

Send Feedback

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.

TCN_SELCHANGE lpnmhdr = (LPNMHDR) lParam;


  • 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 Values



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


OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

TabCtrl_GetCurSel | WM_NOTIFY | NMHDR

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.