| 
 | 
 
 
发表于 2020-10-12 09:45:01
|
显示全部楼层
 
 
 
CToolTipCtrl::SetDelayTime 
void SetDelayTime( UINT nDelay ); 
 
void SetDelayTime( DWORD dwDuration, int iTime ); 
 
Parameters 
 
nDelay 
 
Specifies the new delay time, in milliseconds. 
 
dwDuration 
 
Flag that specifies which duration value will be retrieved. See CToolTipCtrl::GetDelayTime for a description of the valid values. 
 
iTime 
 
The specified delay time, in milliseconds. 
 
Remarks 
 
Call 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或试试看上述方法 |   
 
 
 
 |