如何获得任务栏/标题栏中显示的其他应用程序文本? [英] how can i get other application text shown in the taskbar/titlebar?

查看:83
本文介绍了如何获得任务栏/标题栏中显示的其他应用程序文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何在任务栏/标题栏中显示其他应用程序文本?

我已经使用了"GetWindowText",但是它只能用于获取其他应用程序文本.

how can i get other application text shown in the taskbar/titlebar?

I already use "GetWindowText" but it only can''t be used to get other application text.

推荐答案

GetWindowText函数从任何窗口/控件获取文本.您只应使用FindWindow()或GetWindow()函数标识窗口.
看到这里:
http://allapi.mentalis.org/apilist/GetWindowText.shtml [ http://allapi.mentalis.org/apilist/GetWindow.shtml [
GetWindowText function get text from any window/control. You should only identify window using FindWindow() or GetWindow() function.
See here:
http://allapi.mentalis.org/apilist/GetWindowText.shtml[^]
http://allapi.mentalis.org/apilist/GetWindow.shtml[^]


这篇关于如何获得任务栏/标题栏中显示的其他应用程序文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆