windows_programming_notes.nbk: Home | Index | Next Page: TextOut | Previous Page: TCN_SELCHANGE


 TCN_SELCHANGING

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.

Syntax

TCN_SELCHANGING 

    lpnmhdr = (LPNMHDR) lParam; Parameters

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.

Notification Requirements


windows_programming_notes.nbk: Home | Index | Next Page: TextOut | Previous Page: TCN_SELCHANGE


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time