The TCN_SELCHANGING notification message 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.
TCN_SELCHANGING idTabCtl = (int) LOWORD(wParam); lpnmhdr = (LPNMHDR) lParam;
Returns TRUE to prevent the selection from changing or FALSE to allow the selection to change.
To determine the currently selected tab, use the TabCtrl_GetCurSel macro.
NMHDR, TabCtrl_GetCurSel, TCN_SELCHANGE, WM_NOTIFY
Questions:
Comments:
file: /Techref/os/win/api/win32/mess/src/msg19_23.htm, 2KB, , updated: 2008/1/30 20:42, local time: 2024/11/14 10:56,
18.117.230.165:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/os/win/api/win32/mess/src/msg19_23.htm"> TCN_SELCHANGING</A> |
Did you find what you needed? |