CToolTipCtrl::SetDelayTime void SetDelayTime( UINT nDelay );void SetDelayTime( DWORD dwDuration, int iTime );ParametersnDelaySpecifies the new delay time, in milliseconds.dwDurationFlag that specifies which duration value will be retrieved. See CToolTipCtrl::GetDelayTime for a description of the valid values.iTimeThe specified delay time, in milliseconds.ResCall this function to set the delay time for a tool tip control. The delay time is the length of time the cursor must remain on a tool before the tool tip window appears. The default delay time is 500 milliseconds.默认是半秒,你可以自己写ToolTipCtrl或试试看上述方法
m_toolTip.SetDelayTime(TTDT_INITIAL, 0);TTDT_AUTOPOP Retrieve the length of time the tool tip window remains visible if the pointer is stationary within a tool's bounding rectangle. TTDT_INITIAL Retrieve the length of time the pointer must remain stationary within a tool's bounding rectangle before the tool tip window appears. TTDT_RESHOW Retrieve the length of time it takes for subsequent tool tip windows to appear as the pointer moves from one tool to another.
void SetDelayTime( UINT nDelay );void SetDelayTime( DWORD dwDuration, int iTime );ParametersnDelaySpecifies the new delay time, in milliseconds.dwDurationFlag that specifies which duration value will be retrieved. See CToolTipCtrl::GetDelayTime for a description of the valid values.iTimeThe specified delay time, in milliseconds.ResCall this function to set the delay time for a tool tip control. The delay time is the length of time the cursor must remain on a tool before the tool tip window appears. The default delay time is 500 milliseconds.默认是半秒,你可以自己写ToolTipCtrl或试试看上述方法
TTDT_INITIAL Retrieve the length of time the pointer must remain stationary within a tool's bounding rectangle before the tool tip window appears.
TTDT_RESHOW Retrieve the length of time it takes for subsequent tool tip windows to appear as the pointer moves from one tool to another.