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/7 12:12,
3.133.121.241:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://ecomorder.com/techref/os/win/api/win32/mess/src/msg19_23.htm"> TCN_SELCHANGING</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.