TTM_SETDELAYTIME

The TTM_SETDELAYTIME message sets the initial, reshow, and autopopup durations for a tooltip control.

TTM_SETDELAYTIME

wParam = (WPARAM) uFlag;

lParam = (LPARAM) (int) iDelay;

Parameters

uFlag

Duration to set. This parameter can be one of the following values:

Value Meaning
TTDT_AUTOMATIC Automatically calculates the initial, reshow, and autopopup durations based on the value of iDelay.
TTDT_AUTOPOP Sets the length of time before the tooltip window is hidden if the cursor remains stationary in the tool's bounding rectangle after the tooltip window has appeared.
TTDT_INITIAL Sets the length of time that the cursor must remain stationary within the bounding rectangle of a tool before the tooltip window is displayed.
TTDT_RESHOW Sets the length of the delay before subsequent tooltip windows are displayed when the cursor is moved from one tool to another.

iDelay

New duration, in milliseconds.

Return Values

No return value.