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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:13:16+00:00 2026-06-10T18:13:16+00:00

I have an Internet explorer page which generated a pop-up. I can get the

  • 0

I have an Internet explorer page which generated a pop-up. I can get the parent from the pop-up window’s handle:

>>> child.handle
15208472
>>> win32gui.GetParent(child.handle)
33230502

But I can’t find the child’s handle by using EnumChildWindows:

>>> win32gui.EnumChildWindows(win32gui.GetParent(child.handle), lambda hwnd,p: child_handles.append(hwnd), None)
>>> len(child_handles)
39
>>> child.handle in child_handles
False

I’ve done this recursively as well (getting the children of all the children) and still no child handle to be found. Why might this be the case?

  • 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-06-10T18:13:18+00:00Added an answer on June 10, 2026 at 6:13 pm

    A popup window isn’t a child window, so can’t be enumerated with EnumChildWindows.

    When you called win32gui.GetParent you actually got the “owner” window of the popup, but “owner” and “parent” are two different things. See the MSDN entry for more infromation.

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

Sidebar

Related Questions

Internet explorer has a menu option which can be used to send a page
I have a Internet explorer navigate to a page and I am able to
We have an ActiveX component that displays a Web page in an Internet Explorer
I have noticed that Internet Explorer, which is used by the Web Browser component,
I have a download button in my page from which if the button is
I have few images on a web page which are fetched from HTTP server
I have a problem with internet explorer 6 and 7, please look this example
I have a code block that leads to a Internet Explorer cannot display the
I have used raphael js for drwaing my flowchart in internet explorer 8. Now
I have a [ComRegisterFunction] that I am using to register a BHO Internet explorer

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.