Contents Index Topic Contents | ||
Previous Topic: TCN_SELCHANGE Next Topic: Tab Control Structures |
TCN_SELCHANGING
TCN_SELCHANGING lpnmhdr = (LPNMHDR) lParam;Notifies a tab control's parent window that the currently selected tab is about to change. This message is sent in the form of a WM_NOTIFY message.
- Returns TRUE to prevent the selection from changing, or FALSE to allow the selection to change.
- lpnmhdr
- Address of 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_SELCHANGING.
To determine the currently selected tab, use the TabCtrl_GetCurSel macro.
See also TCN_SELCHANGE
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.