GetCursorPos
GetCursorPos - Mouse Pointer의 현재위치 반환
GetCursorPos함수는 현재 화면상에서 Mouse Pointer의 위치를 반환합니다. Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (ByRef lpPoint As POINTAPI) As Integer - VB.NET 선언 Public Structure POINTAPI Public x As Integer Public y As Integer End Structure Dim pntapi As POINTAPI GetCursorPos(pntapi) pntapi.x pntapi.y - VB.NET 호출 [DllImport("user32.dll")] public static extern int GetCursorPos(ref POINTAPI l..