Jump to content
Sign in to follow this  

AfxFrameOrView42u (List) Control

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


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

ID: 4401


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)
EndFunc   ;==>_Main

thanks in advance.

Edited by devilyn

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.