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
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...
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
Re: microsoft ui automation doubt
C UI is different from C#UI , one is harder than the other, both UI though.
Re: microsoft ui automation doubt
Quote:
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
Re: microsoft ui automation doubt
Hello anyone .Seems no one had ever tried this.
Thanks
Re: microsoft ui automation doubt
Quote:
Originally Posted by
humptydumpty
Hello anyone .Seems no one had ever tried this.
... just because it has nothing to do with a native VC++ :rolleyes:
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
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.
Re: microsoft ui automation doubt
Quote:
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.
Re: microsoft ui automation doubt
Quote:
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.
Re: microsoft ui automation doubt
Quote:
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?
Re: microsoft ui automation doubt
Quote:
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
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?
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