vtoexsir
V2EX  ›  Qt

使用 qt5 开发的 pc 窗口程序,怎么获取其窗口中子控件上的文本?

  •  
  •   vtoexsir · Dec 10, 2019 · 6646 views
    This topic created in 2347 days ago, the information mentioned may be changed or developed.

    qt 开发的 pc 窗口程序,想要获得这个窗口上的某个控件的文本内容.
    使用 win32api 只能获得该控件的句柄,但无法获得其文本.
    请问有什么其他方法可以操作 qt 开发的窗口程序的窗口呢? 谢谢!

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1205 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 17:43 · PVG 01:43 · LAX 10:43 · JFK 13:43
    ♥ Do have faith in what you're doing.