Jump to content

AfxFrameOrView42u (List) Control


devilyn
 Share

Recommended Posts

im working on extracting the text out of an external application listview but it's not behaving as a regular list view.

control details:

>>>> Control <<<<

Class: AfxFrameOrView42u

Instance: 3

ClassnameNN: AfxFrameOrView42u3

Name:

Advanced (Class): [CLASS:AfxFrameOrView42u; INSTANCE:3]

ID: 4401

Text:

Position: 2, 171

Size: 1591, 622

ControlClick Coords: 882, 33

Style: 0x50200000

ExStyle: 0x00000000

Handle: 0x0000000000171C7E

My code:

Func _Main()
    $hwnd = WinGetHandle("AppName")
    $hListView = ControlGetHandle($hwnd, "", 4401)
    $items = _GUICtrlListView_GetItemCount($hListView)

    For $i = 1 To $items - 1
        $aItem = _GUICtrlListView_GetItem($hListView, $i, 1)
        ConsoleWrite($aItem[3] & @CRLF)
    Next
EndFunc   ;==>_Main

thanks in advance.

Edited by devilyn
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...