SetCaretBlinkTime |
VB聲明 |
|
Declare Function SetCaretBlinkTime Lib "user32" Alias "SetCaretBlinkTime" (ByVal wMSeconds As Long) As Long |
|
說(shuō)明 |
|
指定插入符(光標(biāo))的閃爍頻率 |
|
返回值 |
|
Long,非零表示成功,零表示失敗。會(huì)設(shè)置GetLastError |
|
參數(shù)表 |
|
參數(shù) |
類型及說(shuō)明 |
wMSeconds |
Long,插入符新的閃爍間隔時(shí)間,以毫秒為單位 |
注解 |
|
插入符或插入標(biāo)志是一種共享資源,所以閃爍時(shí)間設(shè)定會(huì)對(duì)所有應(yīng)用程序的插入符產(chǎn)生影響。可用GetCaretBlinkTime函數(shù)獲得最初的閃爍時(shí)間設(shè)置。以后在適當(dāng)?shù)臅r(shí)候,可用這個(gè)設(shè)置恢復(fù)最開(kāi)始的值。參考CreateCaret函數(shù)的注解 |
Top |