Share via


TTM_SETMARGIN (Windows Embedded CE 6.0)

1/6/2010

This message 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.

Syntax

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

Parameters

  • wParam
    Not used. Set to 0.
  • lprc
    Pointer to a RECT structure that specifies the margins. The members of this RECT structure do not define a bounding rectangle. The following table describes the structure members for this message.

    Member Description

    top

    The distance between the top border and the top of the ToolTip text, in pixels.

    left

    The distance between the left border and the left of the ToolTip text, in pixels.

    bottom

    The distance between the bottom border and the bottom of the ToolTip text, in pixels.

    right

    The distance between the right border and the right of the ToolTip text, in pixels.

Return Value

None.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

ToolTips Messages
TTM_GETMARGIN
RECT