windows_programming_notes.nbk: Home | Index | Next Page: TabCtrl_DeleteAllItems | Previous Page: SYSTEMTIME


 TabCtrl_AdjustRect

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 use this macro or send the TCM_ADJUSTRECT message explicitly.

Syntax

    VOID TabCtrl_AdjustRect(
        HWND hwnd,
        BOOL fLarger,
        RECT *prc
    );

Parameters

Return Value

No return value.

Remarks

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.

Macro Information


windows_programming_notes.nbk: Home | Index | Next Page: TabCtrl_DeleteAllItems | Previous Page: SYSTEMTIME


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