Jump to content

Control Viewer - AutoIt Window Info Tool


Yashied
 Share

Recommended Posts

What's New in Version 0.2023.7.23
Fixed: compiled with "HiDpi=Y" and now looking at it in a 4k monitor with 200% scaleing, ...big oops.
Broke: x64. The HiDpi patch I put together don't work running as x64.
Broke: Some stuff in WinXP. The old  version is still up for download. (I'll look at it what I get more time to do so)

As a side effect the X,Y is correct in any monitor so, is a good update.

Compiled script on 3.3.16.1

Files download are in the files section.

What and why: ..decided to use the 4k monitor as the main monitor and, CV would not be properly sized :wacko2:
Since I'm the unofficial maintainer of the code, it's up to me to fix it but, I'm in a hurry, so did what I could with the time I have.
Anyone that'd like to have a go at it, please do. Is not my code/utility, is ours. ( yes, yours too ) :)

Edited by argumentum

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

  • 4 months later...

just tried the new version

>Running AU3Check (3.3.16.1)  params:-q -d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7  from:E:\AutoIt-v3D  input:M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3
"M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3"(189,10) : error: can't open include file "UDFs\OnDebugMsgBox.au3".
#include "UDFs\OnDebugMsgBox.au3"
~~~~~~~~~^
"M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3"(190,141) : error: _DebugMsgBox_DefaulText(): undefined function.
_DebugMsgBox_DefaulText("Please contact the developer." & @CRLF & "(https://www.autoitscript.com/forum/files/file/478-control-viewer-mod/)")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3"(1463,91) : error: _ColorChooserDialog(): undefined function.
        Return _ColorChooserDialog($iColor, $hParent, $iRefType, $iReturnType, $iFlags, $sTitle)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3"(3766,47) : error: CC_WM_COMMAND(): undefined function.
    CC_WM_COMMAND($hWnd, $iMsg, $wParam, $lParam)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3 - 4 error(s), 32 warning(s)

 

Edited by ioa747

I know that I know nothing

Link to comment
Share on other sites

  • 1 month later...
  • 7 months later...

Hi everybody :)
1) When I ran the following script, a style name was missing :

#include <MsgBoxConstants.au3>

MsgBox($MB_TOPMOST, "Standard MessageBox", _
    "MessageBox text is written into this Static Control." & @crlf & _
    "The style of this control is always (?) 0x50022080")

Staticstyle0x2000missing.png.f5cf9b96677b9abc2cac589c07f1e08d.png

Global Const $Style_Static[18][2] = _
   [[0x1000, 'SS_SUNKEN'], _
    [0x0400, 'SS_RIGHTJUST'], _
    [0x0200, 'SS_CENTERIMAGE'], _
    [0x0100, 'SS_NOTIFY'], _
    [0x0080, 'SS_NOPREFIX'], _
    [0x0012, 'SS_ETCHEDFRAME'], _
    [0x0011, 'SS_ETCHEDVERT'], _
    [0x0010, 'SS_ETCHEDHORZ'], _
    [0x000C, 'SS_LEFTNOWORDWRAP'], _
    [0x000B, 'SS_SIMPLE'], _
    [0x0009, 'SS_WHITEFRAME'], _
    [0x0008, 'SS_GRAYFRAME'], _
    [0x0007, 'SS_BLACKFRAME'], _
    [0x0006, 'SS_WHITERECT'], _
    [0x0005, 'SS_GRAYRECT'], _
    [0x0004, 'SS_BLACKRECT'], _
    [0x0002, 'SS_RIGHT'], _
    [0x0001, 'SS_CENTER']]
    ;
    ; [0x0000, 'SS_LEFT']

2) So back to work (msdn & Winuser.h) to add 11 missing styles to the Static control list, now we got them all :

Global Const $Style_Static[29][2] = _
   [[0xC000, 'SS_WORDELLIPSIS'], _
    [0x8000, 'SS_PATHELLIPSIS'], _
    [0x4000, 'SS_ENDELLIPSIS'], _
    [0x2000, 'SS_EDITCONTROL'], _
    [0x1000, 'SS_SUNKEN'], _
    [0x0800, 'SS_REALSIZEIMAGE'], _
    [0x0400, 'SS_RIGHTJUST'], _
    [0x0200, 'SS_CENTERIMAGE'], _
    [0x0100, 'SS_NOTIFY'], _
    [0x0080, 'SS_NOPREFIX'], _
    [0x0040, 'SS_REALSIZECONTROL'], _
    [0x0012, 'SS_ETCHEDFRAME'], _
    [0x0011, 'SS_ETCHEDVERT'], _
    [0x0010, 'SS_ETCHEDHORZ'], _
    [0x000F, 'SS_ENHMETAFILE'], _
    [0x000E, 'SS_BITMAP'], _
    [0x000D, 'SS_OWNERDRAW'], _
    [0x000C, 'SS_LEFTNOWORDWRAP'], _
    [0x000B, 'SS_SIMPLE'], _
    [0x000A, 'SS_USERITEM'], _
    [0x0009, 'SS_WHITEFRAME'], _
    [0x0008, 'SS_GRAYFRAME'], _
    [0x0007, 'SS_BLACKFRAME'], _
    [0x0006, 'SS_WHITERECT'], _
    [0x0005, 'SS_GRAYRECT'], _
    [0x0004, 'SS_BLACKRECT'], _
    [0x0003, 'SS_ICON'], _
    [0x0002, 'SS_RIGHT'], _
    [0x0001, 'SS_CENTER']]
    ;
    ; [0x0000, 'SS_LEFT']

Staticstyle0x2000notmissing.png.660dc47b1174bc766b39de45666da224.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...