.NET/Windows API for .NET
SetCaretBlinkTime - Caret깜빡임 속도 지정
클리엘
2019. 8. 9. 16:58
728x90
SetCaretBlinkTime함수는 지정한 인수값만큼 Caret의 깜빡임 속도를 지정합니다.
Declare Function SetCaretBlinkTime Lib "user32" Alias "SetCaretBlinkTime" (ByVal wMSeconds As Integer) As Integer
▶VB.NET 선언
SetCaretBlinkTime(속도값)
▶VB.NET 호출
[DllImport("user32.dll")]
public static extern int SetCaretBlinkTime(int wMSeconds);
▶C# 선언
SetCaretBlinkTime(속도값);
▶C# 호출
SetCaretBlinkTime 함수실행시 인수로는 1/1000초 단위의 정수값을 기재하며 함수실행의 결과값으로 0이 반환된다면 실행이 실패한 경우를 의미합니다.
728x90