windows_programming_notes.nbk: Home | Index | Next Page: TCM_DELETEALLITEMS | Previous Page: TCITEM
Calculates a tab control's display area given a window rectangle, or calculates the window rectangle that would correspond to a specified display area. You can send this message explicitly or by using the TabCtrl_AdjustRect macro.
To send this message, call the SendMessage function as follows.
lResult = SendMessage( // returns LRESULT in lResult (HWND) hWndControl, // handle to destination control (UINT) TCM_ADJUSTRECT, // message ID (WPARAM) wParam, // = (WPARAM) (BOOL) fLarger; (LPARAM) lParam // = (LPARAM) (LPRECT) prc; );
No return value.
This message applies only to tab controls that are at the top. It does not apply to tab controls that are on the sides or bottom.
windows_programming_notes.nbk: Home | Index | Next Page: TCM_DELETEALLITEMS | Previous Page: TCITEM
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time