python学习之一 :更改Windows标题

使用

text = 'hello,this is title!'

client_pos = win32gui.ScreenToClient(handle,pos)

tmp = win32api.MAKELONG(client_pos[0],client_pos[1])

win32gui.SendMessage(handle,win32con.WM_SETTEXT,0,text)

可以将Windows窗口的标题名称设置为text内容,具体原因不明了


评论

  1. Casino Game For Sale by Hoyle - Filmfile Europe
    › casino-games titanium earrings › casino-games › casino-games › https://tricktactoe.com/ casino-games Casino Game for sale by Hoyle on Filmfile nba매니아 Europe. Free shipping ventureberg.com/ for most countries, no download required. Check the deals we have. www.jtmhub.com

    回复删除

发表评论

此博客中的热门博文

民国教材胜在情怀