TTM_GETMARGINTTM_GETMARGIN*
*Contents  *Index  *Topic Contents
*Previous Topic: TTM_GETDELAYTIME
*Next Topic: TTM_GETMAXTIPWIDTH

TTM_GETMARGIN


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

Retrieves the top, left, bottom, and right margins set 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 will receive the margin information.

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:
top Distance between top border and top of tooltip text, in pixels.
left Distance between left border and left end of tooltip text, in pixels.
bottom Distance between bottom border and bottom of tooltip text, in pixels.
right Distance between right border and right end of tooltip text, in pixels.

All four margins default to zero when you create the tooltip control.

Version 4.70.

See also TTM_SETMARGIN


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