Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Automation classes... Help!

 
 
Old 02-02-2006   #1 (permalink)
Nick_Journals


 
 

Automation classes... Help!

Hi guys,
I am experimenting with the automation classes but I have some questions:

- Is it possible to do a search for an element by using wildcards in
findfirst/findall?
e.g. I would like to search for "TestWindow*" which would then return either
the first window it finds or all windows that match that ciriteria.
(TestWindow1,TestWindow2,...)

- The treescope defines ancestors & parent, but where can I use these? I
only get invalidparam when I try to use them in findfirst/findall. So how
can I get the parent of a control without using win32?

- Is there any way to control a window without having to use it's name? A
control is simple because it has an automation ID, but the automationd id of
a window is always empty so the best I can use to describe it, is using the
name. But the problem with that is that it isn't very useable when trying
another language of the application.

PS: I use the January CTP.

Best Regards,
Nick



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
How to enumerate classes from a DLL .NET General
Localization in Classes .NET General
array of classes .NET General
What Framework Classes Do You Use the Most? .NET General
RC1 and WMI - mising classes? Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46