Beispiel #1
0
        /// <summary>
        /// 设置标题
        /// </summary>
        /// <param name="hander"></param>
        private void SetTitle(IntPtr hander)
        {
            StringBuilder sb = new StringBuilder(255);

            sb.Append("chenchang is a good man...");
            bool flag = WinApi.SetWindowText(hander, sb);
        }