Skip to content

how to select all checkboxs in invite window

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #187706
    method
    Member

    Hi all. could any one show me how i can select all checkboxs in invite window. I am looking for a way that i don’t have to select them all manually. It would be nice if by one click all of them get selected.Hope some one show me a way to do it.Thanks

    #187708
    Chike
    Member

    This is a real bummer. It’s a SysListView32 and I made a message trace on it but nuthing that look meaningful there.
    I am guessing you may be able to check them by sending WM_LBUTTONDOWN with MK_LBUTTON (I noticed right mouse button works too.)
    The coordinates for the mouse location you’ll have calculate from the results of LVM_GETITEMRECT, LVM_GETORIGIN, and potentialy LVM_GETITEMPOSITION (not sure as i never saw results from those messages,) iterating through all the items.

    This is all theoretical but might work. Other measures might be needed for instance if the list check the real mouse location you may need to place it over the item, which imply you may need to scroll the list to make items visible.

    #187707
    Chike
    Member

    Forgot to mention that you’ll have to use the same method being used at autopilot’s VB6 select/highlight ListView Item to pass the POINT and RECT structures for these messages.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.