473,396 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Is there a way I can get the handle of the active MDI child

I know about GetForegroundWindow but if I click a MDI child window and do
GetForegroundWindow I get the handle of the MDI Parent not the child.

Is there a way I can get the handle of the active child (MDI/Child are not
in my application)?

Thanks
PS
I read about GetActiveWindow but do not understand the difference from
GetForegroundWindow
Nov 17 '05 #1
0 1014

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Svennglenn | last post by:
How do i make a child window "active" like the root window? from Tkinter import * def open_child(): c = Toplevel(root) c.title("Child window") c.geometry('200x160+230+130') Label(c,...
0
by: Morten Wennevik | last post by:
Given using a Parent and Child setup in MDI and overriding OnMdiChildActivate in the Parent, how come it seems to active the child I want active only every 2nd time? class Parent { private...
0
by: objectref | last post by:
Hi to all, is there a way to get the Active Child Window of another process ? I mean, let's say that we have an app that is running and it displays a form that asks for data input. I want to...
11
by: objectref | last post by:
Hi to all, is there a way to get the window handle of the main window of an application or process ? For example, if someone opens Microsoft Word, he gets a window so he/she can write text....
0
by: Frank_00001 | last post by:
I'm trying to use Active Directory to get a list of users that are in the same directory as the logon user. I'm trying to do this as a Web App written in C# using Windows Security and...
1
by: Ray Martin | last post by:
I have two tables in the dataset: -Invoice header which contains invoice total (Parent table) -Invoice line which contains line item details (Child table) I am using a data adapter to update the...
0
by: jpr | last post by:
Hello, I have a problem with my database and need some help. My database has a main menu named MENU which allows to access all the different forms of the program I am trying to develop. One of...
0
by: VMahaadevan | last post by:
Hi, I have MDI form in that I have 4 panels left panel has treeview control top panel has heading, version, label, Bottom panel has status bar for MDI and right side panel is work area where I...
1
by: ferguslogic | last post by:
Hello everyone, I have a C# winforms application which is designed as a mdi application. I am having a focus problem with it that I cannot seem to solve. If I open a mdi child and it is the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.