GetSysColor

    GetSysColor - System 설정 색상정보

    Declare Function GetSysColor Lib "user32" Alias "GetSysColor" (ByVal nIndex As Integer) As Integer ▶VB.NET 선언 GetSysColor(X) ▶VB.NET 호출 [System.Runtime.InteropServices.DllImport("user32.dll")] private static extern int GetSysColor(int nIndex); ▶C# 선언 GetSysColor(X).ToString(); ▶C# 호출 인수값 반환값 0 윈도우 스크롤바 색상 1 윈도우 배경색상 2 윈도우 타이틀바 색상(활성화된 경우) 3 윈도우 타이틀바 색상(비활성화된 경우) 4 윈도우 메뉴 색상 5 윈도우 색상 6 - 7 메뉴의 텍스..