Example #1
0
        /// <summary>指定したウィンドウのタイトルを取得する</summary>
        public static string GetWindowTitle(IntPtr windowHandle)
        {
            StringBuilder title = new StringBuilder(300);

            WindowController2.GetWindowText(windowHandle, title, title.Capacity);

            return(title.ToString());
        }