|
-
September 5th, 2010, 08:11 AM
#1
microsoft ui automation doubt
Hello All,
I had just Started working on Microsoft UI automation .It's pretty confusing to me as such there is no article and tutorial for doing stuff in C++.I learned Couple of things .SO at this time i am able to perform automation like button control etc. But now i have a grid Control which contain list control combo box check box etc and i have to perform automation on this and i have no idea how to proceed i will appreciate if anyone can help me to resolve this problem.
Thanks
-
September 5th, 2010, 10:40 AM
#2
Re: microsoft ui automation doubt
Which " Microsoft UI automation" do you mean?
if it is this one then you should choose another (managed C++) Forum...
Victor Nijegorodov
-
September 5th, 2010, 01:25 PM
#3
Re: microsoft ui automation doubt
Yes you are abs right .I am looking for microsoft UI automation for C++ . Not for C# or WPF etc
Thanks
Last edited by humptydumpty; September 5th, 2010 at 01:28 PM.
-
September 5th, 2010, 09:55 PM
#4
Re: microsoft ui automation doubt
C UI is different from C#UI , one is harder than the other, both UI though.
Sig-na-tju-(r)
-
September 6th, 2010, 09:42 AM
#5
Re: microsoft ui automation doubt
 Originally Posted by ThachQuanVy
C UI is different from C#UI , one is harder than the other, both UI though.
I know that i am looking for someone who can help me to proceed with this and help me to understand the stuff so that i can finish this UI stuff.
Thanks
-
September 7th, 2010, 02:18 PM
#6
Re: microsoft ui automation doubt
Hello anyone .Seems no one had ever tried this.
Thanks
-
September 7th, 2010, 02:27 PM
#7
Re: microsoft ui automation doubt
 Originally Posted by humptydumpty
Hello anyone .Seems no one had ever tried this.
... just because it has nothing to do with a native VC++
Victor Nijegorodov
-
September 7th, 2010, 05:06 PM
#8
Re: microsoft ui automation doubt
Okay So i am gonna move it in a win32 Api forum .Hope that will be a right place for this.
Thanks
-
September 7th, 2010, 08:22 PM
#9
Re: microsoft ui automation doubt
If this has anything to do with .NET, then you need to check with a Managed C++ or C++/CLI forum.
-
September 8th, 2010, 12:21 PM
#10
Re: microsoft ui automation doubt
SO at this time i am able to perform automation like button control etc. But now i have a grid Control which contain list control combo box check box etc and i have to perform automation on this and i have no idea how to proceed
Before making conclusions about if anybody 'had ever tried this' please explain clearly and unambiguously what your problem is. 'No idea how to proceed' doesn't work here, as well as in any other forum.
Besides you have to be careful with 'automation' word, as it has very special meaning in Windows OLE/COM world. As well as UI automation.
Last edited by Igor Vartanov; September 8th, 2010 at 12:24 PM.
Best regards,
Igor
-
September 8th, 2010, 01:01 PM
#11
Re: microsoft ui automation doubt
 Originally Posted by Igor Vartanov
Before making conclusions about if anybody 'had ever tried this' please explain clearly and unambiguously what your problem is. 'No idea how to proceed' doesn't work here, as well as in any other forum.
Besides you have to be careful with 'automation' word, as it has very special meaning in Windows OLE/COM world. As well as UI automation.
Thanks for your ans. As my question it self tells that its a microsoft UI automation q .Don't know what else to explain here .My question is i had a grid control and i want to perform MS UI automation on grid control .How to do that .I have basic idea like i have to use IGridProvide and IGridItemProvider interface with IValueProvider . I had my own class i think i am almost done apart from 4 function.
1)
GetEmbeddedFragmentRoots () .because my grid control can have list control combobox checkbox etc inside it so what i have to retuen here a list or something else.
2) Navigate Function in both gridProvider and GridItemProvider class
3) get_ContainingGrid() of IGridItemProvider.
4)regarding Event .
Thanks
In last I am using C++ .Nothing else.
Last edited by humptydumpty; September 8th, 2010 at 01:03 PM.
-
September 9th, 2010, 02:31 AM
#12
Re: microsoft ui automation doubt
My question is i had a grid control and i want to perform MS UI automation on grid control .How to do that
First of all, what kind of grid you have to work with? There's no such standard or common control in Windows. Grid OCX widely used in pre-.NET VBs or .NET grid, which one is your case?
Best regards,
Igor
-
September 9th, 2010, 07:46 AM
#13
Re: microsoft ui automation doubt
 Originally Posted by Igor Vartanov
First of all, what kind of grid you have to work with? There's no such standard or common control in Windows. Grid OCX widely used in pre-.NET VBs or .NET grid, which one is your case?
Hi Thanks for your reply .I am using stringrey Rogue Wave Software stingray grid and in my case everything in pure C++ .Had implemented my Class for exposing grid functionality . And i had a dummy app it works partially through which i am able to get Row count and column count in my UI Spy++. If you want i can mail my sample app to you .
Thanks
-
September 9th, 2010, 08:06 PM
#14
Re: microsoft ui automation doubt
What are you trying to do?
1) Are you trying to manipulate an app using Active Accessibility (i.e. UI automation)? For example, I have an app that I need to test. I start up the app and use AA to automatically manipulate the app - click on buttons, select grid items, read values, etc.
2) Are you trying to implement UI automation so an app is Active Accessibility enabled?
-
September 10th, 2010, 08:49 AM
#15
Re: microsoft ui automation doubt
I am having a application with Grid Control . Now i am implementing Microsoft UI automation on this .So that from UI spy++ i can check all the information of grid control cells . And had a test Application at client side in which i had client side functionality .So if i Run my Client app with the help of my app i can get and set cells value of grid control .So i have to expose grid cell to outer world for that i have to write my provider Api . Upto now i had done some small stuff through which i am able to get row and column count handle of my grid control etc . But i wann perform operation on cell .If you want more information please let me know.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|