CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 30
  1. #1
    Join Date
    May 2005
    Location
    Oregon
    Posts
    3,725

    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

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    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

  3. #3
    Join Date
    May 2005
    Location
    Oregon
    Posts
    3,725

    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.

  4. #4
    Join Date
    Jul 2009
    Posts
    37

    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)

  5. #5
    Join Date
    May 2005
    Location
    Oregon
    Posts
    3,725

    Re: microsoft ui automation doubt

    Quote Originally Posted by ThachQuanVy View Post
    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

  6. #6
    Join Date
    May 2005
    Location
    Oregon
    Posts
    3,725

    Re: microsoft ui automation doubt

    Hello anyone .Seems no one had ever tried this.

    Thanks

  7. #7
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: microsoft ui automation doubt

    Quote Originally Posted by humptydumpty View Post
    Hello anyone .Seems no one had ever tried this.
    ... just because it has nothing to do with a native VC++
    Victor Nijegorodov

  8. #8
    Join Date
    May 2005
    Location
    Oregon
    Posts
    3,725

    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

  9. #9
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    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.

  10. #10
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

    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

  11. #11
    Join Date
    May 2005
    Location
    Oregon
    Posts
    3,725

    Re: microsoft ui automation doubt

    Quote Originally Posted by Igor Vartanov View Post
    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.

  12. #12
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

    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

  13. #13
    Join Date
    May 2005
    Location
    Oregon
    Posts
    3,725

    Re: microsoft ui automation doubt

    Quote Originally Posted by Igor Vartanov View Post
    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

  14. #14
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    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?

  15. #15
    Join Date
    May 2005
    Location
    Oregon
    Posts
    3,725

    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

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured