Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

GXWND - Get Titles of the grid (column headers)


  • Please log in to reply
4 replies to this topic

#1 jdelaney

jdelaney

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,960 posts

Posted 22 February 2012 - 08:18 PM

Anyone have a way of getting column headers from a control with Class = GXWND?

I'm able to pull out all record data, except that row, since I'm unable to "select" it prior to my copy to clipboard.

Thanks.
IEbyXPATH-Grab IE DOM objects by XPATH
IEscriptRecord-Makings of an IE script recorder
ExcelFromXML-Create Excel docs without excel installed







#2 jdelaney

jdelaney

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,960 posts

Posted 22 February 2012 - 11:46 PM

Nuts, found what I needed, but not for the proper control :/

_GUICtrlListView_GetHeader

If only there were a _GUIGrid_*
IEbyXPATH-Grab IE DOM objects by XPATH
IEscriptRecord-Makings of an IE script recorder
ExcelFromXML-Create Excel docs without excel installed

#3 jdelaney

jdelaney

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,960 posts

Posted 23 February 2012 - 04:39 PM

bump :). Even if I can't get the text, I still need to be able to grab where the columns are, so I can click to sort. Any help/tips would be appreciated.
IEbyXPATH-Grab IE DOM objects by XPATH
IEscriptRecord-Makings of an IE script recorder
ExcelFromXML-Create Excel docs without excel installed

#4 jdelaney

jdelaney

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,960 posts

Posted 23 February 2012 - 06:11 PM

Answer my own question...it's ugly...I'm doing pixel searches to find the black | between grid cols to get the coords to click...so ugly.
IEbyXPATH-Grab IE DOM objects by XPATH
IEscriptRecord-Makings of an IE script recorder
ExcelFromXML-Create Excel docs without excel installed

#5 jdelaney

jdelaney

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,960 posts

Posted 24 February 2012 - 04:01 PM

Last bump.
IEbyXPATH-Grab IE DOM objects by XPATH
IEscriptRecord-Makings of an IE script recorder
ExcelFromXML-Create Excel docs without excel installed




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users