Export (0) Print
Expand All

TTM_GETMARGIN message

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.

Parameters

wParam
Must be zero.
lParam

Pointer to 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:

ValueMeaning
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.

 

Return value

The return value for this message is not used.

Remarks

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

See also

TTM_SETMARGIN

 

 

Community Additions

ADD
Show:
© 2014 Microsoft