C#中如何用GetWindowText获取窗体的标题

2025-03-04 07:27:06
推荐回答(2个)
回答1:

你只要用:
this.Form1.title.text就可以获取当前窗体。

回答2:

lpString是标题的内容
cch是标题长度