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

  • Home
  • SEARCH
  • 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 6903727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:57:42+00:00 2026-05-27T07:57:42+00:00

I used _WinAPI_SetParent to embed some programs into a AutoIt GUI . Then I

  • 0

I used _WinAPI_SetParent to embed some programs into a AutoIt GUI . Then I found I can’t detect those program windows anymore, only their parent ( = AutoIt GUI) can be detect. I use ShellHook and it tell me that the program windows are destroyed. Furthermore, ShellHook can’t no long detect these program windows neither.

So how to monitor these program windows activities that embedd into a AutoIt GUI, like one can use WinExists, WinActive and send commands to them, like WinActivate, WinGetHandle. Or using ShellHook to do this?

This function use DllCall("user32.dll", "hwnd", "SetParent", "hwnd", $hWndChild, "hwnd", $hWndParent)

  • 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-27T07:57:42+00:00Added an answer on May 27, 2026 at 7:57 am

    Once embedded, the windows become controls. As a result, try using the Control* functions. For example you’d use ControlFocus to replace WinActivate, ControlGetHandle to replace WinGetHandle.

    Also, keep the handle and then some windows functions will still work on them. The only difference between windows and controls is that one has a parent window.

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

Sidebar

Related Questions

I am writing a program that creates a process and then read some bits
I am creating a label control which can be used on Aero Glass and
Is there a way to hook into the Windows File Copy API from C#?
I have a program that heavily uses std::map . Under Windows, much more memory
Recently I was updating some code used to take screenshots using the GetWindowDC ->
Is there a function in win API which can be used to extract the
I used the tabhost tutorial to get started with the Tabhost control. After some
Years ago, I used to do some basic programming in C. Now I am
I am verifying some code for x64 compatability. Previously I've used PInvoke.net, but I've
Got some C# forms/controls that can be called up either from a C# control

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.