Loading ...
Sorry, an error occurred while loading the content.

Re: Close Child Window from GUITEST perl script

Expand Messages
  • Dennis K. Paulsen
    You could try using the MenuSelect function; which is actually documented and has an example for this system menu (_, [], X (Close)) feature. Regards, D
    Message 1 of 6 , Sep 15, 2005
    • 0 Attachment
      You could try using the MenuSelect function; which is actually
      documented and has an example for this system menu (_, [], X (Close))
      feature.


      Regards,
      D
      --- In perlguitest@yahoogroups.com, "markmontemuro" <montemur@s...> wrote:
      > --- In perlguitest@yahoogroups.com, "Piotr Kaluski" <pkaluski@p...>
      > wrote:
      > > Did you mean pressing x button in upper right corner?
      > > If so, try CTRL-F4. It should close only the child window. Remember
      > > to give it a focus first.
      > > -Piotr
      > >
      > > --- In perlguitest@yahoogroups.com, "markmontemuro" <montemur@s...>
      > > wrote:
      > > > --- In perlguitest@yahoogroups.com, "Piotr Kaluski"
      > <pkaluski@p...>
      > > > wrote:
      > > > > Try reading this
      > > > > http://www.piotrkaluski.com/files/winguitest/docs/ch02.html
      > > > > -Piotr
      > > > >
      > > > > --- In perlguitest@yahoogroups.com, "Montemuro, Mark"
      > > > <montemur@s...>
      > > > > wrote:
      > > > > > I have a parent application that creates a child Window. The
      > > only
      > > > way of
      > > > > > closing this window is choosing the x button. Alt {F4} closes
      > > the
      > > > whole
      > > > > > app. The window can appear anywhere on the screen. So
      > choosing
      > > a
      > > > > > specific mousemove command will not work. Is there a way of
      > > > finding the
      > > > > > x button from within the guitest perl script, and then press
      > > the
      > > > left
      > > > > > mouse button to close the window?
      > > > > >
      > > > > >
      > > > > > IMPORTANT: The information contained in this email and/or its
      > > > > attachments is confidential. If you are not the intended
      > > recipient,
      > > > > please notify the sender immediately by reply and immediately
      > > delete
      > > > > this message and all its attachments. Any review, use,
      > > > reproduction,
      > > > > disclosure or dissemination of this message or any attachment
      > by
      > > an
      > > > > unintended recipient is strictly prohibited. Neither this
      > > message
      > > > nor
      > > > > any attachment is intended as or should be construed as an
      > offer,
      > > > > solicitation or recommendation to buy or sell any security or
      > > other
      > > > > financial instrument. Neither the sender, his or her employer
      > > nor
      > > > any
      > > > > of their respective affiliates makes any warranties as to the
      > > > > completeness or accuracy of any of the information contained
      > > herein
      > > > or
      > > > > that this message or any of its attachments is free of viruses.
      > > > > >
      > > > > >
      > > > > > [Non-text portions of this message have been removed]
      > > >
      > > > Do you have a small example? I've looked at that section, and
      > still
      > > > not sure where to start.
      >
      > ----
      > Yes it does have the close button (X) in the top right corner of the
      > window. A CTRL-F4 does not close the window. It only closes if you
      > press the X button.
    Your message has been successfully submitted and would be delivered to recipients shortly.