-
July 14th, 2008, 06:34 PM
#1
How parent window notify ?!
Hi there,
How a parent window notify that a child window has been created ?!
for example i create a text box in a dialog dynamically ( run-time ), how the dialog notifies ?! is there any message or something ?!
or for example in an MDI application, new child window has been created ...
how the parent window notifies ?
Regards,
-
July 14th, 2008, 06:48 PM
#2
Re: How parent window notify ?!
There is no such message as far as I know, but you could install a hook.
Why are you interested in that kind of information though ?
-
July 14th, 2008, 07:05 PM
#3
Re: How parent window notify ?!
Hi Kirant, and thanks for reply
About Hooking, unfortunatly in the platform i'm writing the program there is some limitation to use Hooking functions ... so simply i can't use them .
This program will be kind of system application for pocket pc devices ...
ps: long time i didn't check codeguru, nice to see ya
Regrads,
-
July 14th, 2008, 07:22 PM
#4
Re: How parent window notify ?!
Originally Posted by Hadi Rezaie
How a parent window notify that a child window has been created ?!
for example i create a text box in a dialog dynamically ( run-time ), how the dialog notifies ?! is there any message or something ?!
Don't you call CreateWindow() from that parent dialog? Then it already knows, doesn't it?
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
-
July 14th, 2008, 07:39 PM
#5
Re: How parent window notify ?!
Hi Vladimir,
sorry for my bad english, i think i ask the question bad ...
you know, actually i dont create any child windows myself
let say that "an application starts to create some child window at run-time", does the parent window notifies that (with messeges or something .. ) ?
Regrads,
-
July 15th, 2008, 12:55 AM
#6
Re: How parent window notify ?!
I believe Vladimir's point is that since child windows are normally created by the parent window, there isn't any need to notify the parent when a child is created (since presumably the parent know about the child since it created it).
Are you working in code that you have written or are you talking about monitoring an application that you have not written?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|