vtoexsir
V2EX  ›  Qt

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

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

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

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