Get window information


  1. Posts : 481
    Windows 10 pro 1903 1862.145
       #1

    Get window information


    I'm looking for a utility that will show information about a window. Any suggestions?
      My Computer


  2. Posts : 2,487
    Windows 10 Home, 64-bit
       #2

    tcebob said:
    information about a window.
    What does that mean?

    Windows itself, as you might learn from Microsoft directly?

    Details of your personal Windows installation?

    Details about your installed applications?

    Something else?
      My Computer


  3. Posts : 481
    Windows 10 pro 1903 1862.145
    Thread Starter
       #3

    Sorry, I meant window with a little w. Those rectangular areas that display various things from a program. Principally, Window Class.
      My Computer


  4. Posts : 31,660
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #4

    tcebob said:
    I'm looking for a utility that will show information about a window. Any suggestions?
    tcebob said:
    .... Principally, Window Class.
    @tcebob, for all such useful little utilities my first port of call is NirSoft. Again, they have not disappointed....

    This utility displays the list of opened windows on your system. For each window, some useful information is displayed: the title, the handle of window, location, size, class name, process number, the name of the program that created the window, and more...
    https://www.nirsoft.net/utils/winlister.html
    Last edited by Bree; 12 Jul 2019 at 10:51.
      My Computers


  5. Posts : 1,767
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #5

    Or use AutoHotkey's Active Window Info utility (AU3_Spy.exe - 797KB):

    Get window information-active-window-info.png
      My Computer


  6. Posts : 481
    Windows 10 pro 1903 1862.145
    Thread Starter
       #6

    I'll go with the nirsoft. Thanks both.

    ... Later: Not so happy with winlister, will try Spy.exe

    ... Later still: Winlister looks pretty good after all.
    Last edited by tcebob; 13 Jul 2019 at 13:33.
      My Computer


  7. Posts : 11,247
    Windows / Linux : Arch Linux
       #7

    Hi there

    @tcebob

    all sorts of programs have window info possibilities -- any sort of Visual Basic, python, REXX, c++ etc etc.

    What you need to do is use a programming technique called MVC or Model View Controller -- so you just program your application code and make calls to standard GUI / windowing facilities or "the view controller" - usually with decent library defined api's.

    It's quite a good technique as you separate the "application" i.e the task you need to do from all the fiddly bits like window control, mouse ops etc etc.

    I'm not quite sure what you really want to do but I'm assuming you want to attempt some coding.

    Doing it this way allows your application to be reasonably "Platform Independent" and certainly "portable" across different OS'es-- the application stays the same but you just call the windowing / gui bits of the target OS.

    some info here : Understanding Model-View-Controller

    Linux has decent examples of this -- you can often choose several different GUI's on any particular Distro -- 3 of the most popular GUI's are GNOME, MINT and KDE -- you can usually run any (or most) properly written Linux applications to work on any of these GUI's without re-compilation or even re-installation.

    Cheers
    jimbo
      My Computer


  8. Posts : 481
    Windows 10 pro 1903 1862.145
    Thread Starter
       #8

    Jimbo, I'm flattered by your recommendation to learn coding. And, in fact, I have dabbled in Python and coded in Autolisp. But it seems like overkill to learn and implement a whole new language just to find the parameters of a window. The above mentioned Winlister does the job.
      My Computer


  9. Posts : 141
    Windows10
       #9

    tcebob said:
    Jimbo, I'm flattered by your recommendation to learn coding. And, in fact, I have dabbled in Python and coded in Autolisp. But it seems like overkill to learn and implement a whole new language just to find the parameters of a window. The above mentioned Winlister does the job.
    I am an expert in VB.NET, and can provide window status app for your question. What is exactly do you need?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:27.
Find Us




Windows 10 Forums