Jump to content
Sign in to follow this  
karliky

Problem reading "MSFlexGridWndClass"

Recommended Posts

karliky

Here is the info:

>>>> Window <<<<
Title:  ASIGNACION EQUIPOS(MAC) A INSTALADORES
Class:  ThunderRT6FormDC
Position:   254, 97
Size:   772, 605
Style:  0x16C80000
ExStyle:    0x00000100
Handle: 0x0005069A

>>>> Control <<<<
Class:  MSFlexGridWndClass
Instance:   3
ClassnameNN:    MSFlexGridWndClass3
Advanced (Class):   [CLASS:MSFlexGridWndClass; INSTANCE:3]
ID: 
Text:   
Position:   94, 186
Size:   442, 262
ControlClick Coords:    256, 115
Style:  0x54100000
ExStyle:    0x00000000
Handle: 0x000305BE

>>>> Mouse <<<<
Position:   607, 421
Cursor ID:  0
Color:  0xE0E0E0

>>>> StatusBar <<<<

>>>> Visible Text <<<<
Salir
12/10/2008
Report 3
Report 2
Grabar
LINEA DE EQUIPOS SIN MAC ASIGNADOS
EQUIPOS PARA ASIGNAR
Nuevo
Identificador
Report 1
EQUPOS DISPONIBLES
Eliminar
ASIGNADOS
MAC EQUIPO
INST/DESM
DISPONIBLES


>>>> Hidden Text <<<<

#include <GuiListBox.au3>

Opt("WinTitleMatchMode", 4)

If WinExists("ASIGNACION EQUIPOS(MAC) A INSTALADORES") Then
    $hWin = WinGetHandle("ASIGNACION EQUIPOS(MAC) A INSTALADORES")
    $hLB = ControlGetHandle($hWin, "", "[CLASS:MSFlexGridWndClass; INSTANCE:3]")
    $iLBCount = _GUICtrlListBox_GetCount($hLB)
    $sLBList = "ListBox item texts:" & @CRLF
    For $i = 0 To UBound($iLBCount) - 1
        $sLBList &= _GUICtrlListBox_GetText($hLB, $i)
    Next
    MsgBox(64, "ListBox Data", $sLBList)
Else
    MsgBox(16, "Error", "Window is not present.")
EndIf

i can't distinguish a line from another. Here's a screenshot:

Posted Image

And the result:

Posted Image

how can i read it? :|

Edited by karliky

Share this post


Link to post
Share on other sites
karliky

_GUICtrlListBox_GetCount($hLB) always return 0, why? :\

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.