Prev Next

TTM_SETDELAYTIME Overview  Group

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.