Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 344725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T11:01:02+00:00 2026-05-12T11:01:02+00:00

Our application has many controls that are created dynamically. For example, a navigation pane

  • 0

Our application has many controls that are created dynamically. For example, a navigation pane contains groups of links that change as the user navigates through the app. The first time I use AccExplorer to select these links, it finds them perfectly. However, after I navigate to another page, AccExplorer can’t see the links in the updated navigation pane. In fact, the old link controls still appear in the AccExplorer tree hierarchy and as I click on them AccExplorer highlights areas of the desktop that are outside the bounds of our application’s actual window.

The controls have changed, but AccExplorer doesn’t recognize them. It still thinks the hierarchy is the same.

What I find strange is that closing AccExplorer and then opening a new instance of AccExplorer results in the same results. When I select the new navigation control with AccExplorer, it doesn’t see the new links. It recreates the old hierarchy with the old links. The only way to see the new links is if I close our application, reopen our application, manually navigate to the new page, then select the controls with AccExplorer.

The navigation control is a DevExpress control. OS is WinXP. AccExplorer 2.0. I’d prefer to use UIAutomation, but not all DevExpress controls support UIAutomation. We’re trying to use MSAA to fill in those gaps.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T11:01:03+00:00Added an answer on May 12, 2026 at 11:01 am

    To follow up…

    With UISpy I’m able to find a control called LeftNavExplorerBarGroups that AccExplorer cannot see. I’m able to use UIAutomation to get the window handle of the control then use the handle to find the IAccessible object with MSAALayer. The fact that AccExplorer can’t see that control and that the accName is null made it very difficult to discover how to find the controls I needed. (Note: MSAA comes from Arshad – http://www.codeproject.com/KB/winsdk/MSAA_UI_Automation.aspx)

    AutomationElement a, b;
    Process p;
    Process[] existingProcesses;
    IAccessible c;
    
    existingProcesses = Process.GetProcessesByName("OurApp");
    if (existingProcesses.Length > 0) {
      p = existingProcesses[0];
      a = AutomationElement.FromHandle(p.MainWindowHandle);
      b = a.FindFirst(TreeScope.Descendants, new PropertyCondition(AutomationElement.AutomationIdProperty, "LeftNavExplorerBarGroups"));
      c = MSAA.GetAccessibleObjectFromHandle(new IntPtr(b.Current.NativeWindowHandle));
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 219k
  • Answers 219k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Yes, you are correct. mouseMotionListener is used to perform actions… May 12, 2026 at 11:49 pm
  • Editorial Team
    Editorial Team added an answer Looks like CSS validation issue to me, here is what… May 12, 2026 at 11:49 pm
  • Editorial Team
    Editorial Team added an answer You can use either a regular expression or use the… May 12, 2026 at 11:49 pm

Related Questions

I have a Win32 application that includes an EXE, an ActiveX control (DLL) and
I'm using the MultiPoint SDK to create a collaborative educational application for children in
We create via Tools | Options | Environment Variables Variables like that: $(Sources) =
We have a asp.net 2.0 web application that is running on IIS7. It is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.