跳至主要內容
文档
主页
快速上手
节点介绍
SetWindowText
Mr.Liu
2024年9月23日
小于 1 分钟
使用指南
Markdown
函数简介
设置窗口的标题。
函数原型
long SetWindowText(hwnd, title)
参数定义
参数
类型
描述
hwnd
整形数
指定的窗口句柄。
title
字符串
标题。
返回值
整形数
:
0
表示失败,
1
表示成功。
示例
dm_ret = dm.SetWindowText(hwnd, "test")
上一页
SetWindowState
下一页
SetWindowTransparent