Threads communication

From: Federico (fedeabascal_at_yahoo.es)
Date: 06/29/04


Date: 29 Jun 2004 03:20:24 -0700

Please, can anybody help me?

I have a window that creates a new window in a new thread, so both
windows can receive user input. I want the parent window to know when
the child window is closed (for example). How could I do it?

(I tell you what I did: parent window creates a new thred with
itsself and in the run method I create the new window and wait for it
returns... but this way the two threads are for the parent window; I
guess it's not very nice the way I'm doing but I can't devise another
way)

Thanks!
Federico



Relevant Pages

  • Re: Are VBA userforms always child of Windows desktop?
    ... When I load a modeless userform then in Spy++ the treeview suggests that the form is a child of the desktop. ... Retrieves the parent window. ...
    (microsoft.public.excel.programming)
  • Re: how to call a java script function in a child window from the
    ... The htm in the parent window and needs ... The child window displays a contact form that is to be ... I was trying to from the parent window script> ...
    (microsoft.public.frontpage.programming)
  • Re: How to have a Perl script emulate a keystroke to another application
    ... I used Win32::GuiTest to SendKeys to applications. ... Finds the window handles of the windows matching the specified ... parent - the parent window of the button ... BOOL SetForegroundWindow* ...
    (comp.lang.perl.misc)
  • Re: Detect a forms window mode
    ... By looking at the window classes of the form and of its parent window, ... I can tell whether the form is popup or not. ... 'Returns the handle of the parent window of the specified window. ... Private Sub Form_Load ...
    (microsoft.public.access.modulesdaovba)
  • Re: Detect a forms window mode
    ... By looking at the window classes of the form and of its parent window, I can tell whether the form is popup or not. ... Dim hWndParent As Long ...
    (microsoft.public.access.modulesdaovba)