TTM_SETMARGINTTM_SETMARGIN*
*Contents  *Index  *Topic Contents
*Previous Topic: TTM_SETDELAYTIME
*Next Topic: TTM_SETMAXTIPWIDTH

TTM_SETMARGIN


TTM_SETMARGIN
    wParam = 0;
    lParam = (LPARAM)(LPRECT) lprc;

Sets the top, left, bottom, and right margins for a tooltip window. A margin is the distance, in pixels, between the tooltip window border and the text contained within the tooltip window.

lprc
Address of a RECT structure that contains the margin information to be set.

The members of the RECT structure do not define a bounding rectangle. For the purpose of this message, the structure members are interpreted as follows:
topDistance between top border and top of tooltip text, in pixels.
leftDistance between left border and left end of tooltip text, in pixels.
bottomDistance between bottom border and bottom of tooltip text, in pixels.
rightDistance between right border and right end of tooltip text, in pixels.

Version 4.70.

See also TTM_GETMARGIN


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.