The TCM_GETITEMRECT message retrieves the bounding rectangle for a tab in a tab control. You can send this message explicitly or by using the TabCtrl_GetItemRect macro.
TCM_GETITEMRECT wParam = (WPARAM) (int) iItem; // index of the tab lParam = (LPARAM) (RECT FAR *) prc; // pointer to a structure to receive rectangle of tab
Returns TRUE if successful or FALSE otherwise.
file: /Techref/os/win/api/win32/mess/src/msg19_7.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/13 06:57,
3.12.165.82: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_7.htm"> TCM_GETITEMRECT</A> |
Did you find what you needed? |