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 344315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:58:45+00:00 2026-05-12T10:58:45+00:00

I am still trying to test my WinForm application, however some of the testing

  • 0

I am still trying to test my WinForm application, however some of the testing tools don’t work because the custom dialog forms I dynamically create are not child windows in the window tree (in Win32 api sense). I am using Spy++ to browse and search for windows. If I use the Finder Tool on these forms, some of them are found as direct children of the Desktop window (completely outside of my main window hierarchy). How can I make sure they are all in one tree?

EDIT: obviously all windows can be found, I just have to refresh the display in Spy++ all the time.

  • 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-12T10:58:45+00:00Added an answer on May 12, 2026 at 10:58 am

    A regular (non-MDI child) form is by definition a top-level window that has the desktop as it’s parent. So they will never be considered child windows (in the Win32 API sense), unless you explicitly use SetParent to change it (but then you probably shouldn’t use a Form to begin with).

    Why does this relation matter to your testing tools?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm relatively new to TDD, and still trying to learn to apply some of
I am trying to test an Android application. I need to send mock location
I am still trying to get my head around how client server comms work
I am trying to test some classes that rely on a Task to do
I am trying to test some new features on a live site. My goal
I need to test if a file is a shortcut. I'm still trying to
I'm trying to test some backbone.js views using Jasmine (via jasmine-headless-webkit). Everything is working
I'm still trying to get my head around how selectors and dynamic typing work
I'm trying to code a simple base64 encoder/decoder (to test my programming skill). I
Still trying to figure this out from yesterday. I am trying to scroll an

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.