+ Reply to Thread
Results 1 to 3 of 3

new window event

  1. #1
    John
    Guest

    new window event

    Hi

    xl2003. Does anyone know how I can get an event to fire when the user opens
    a new window ?

    'withevents' in a class module offers activate, deactivate and resize but no
    other likely suspects.

    Any help, advive or pointers gratefully received.

    Many thanks
    John



  2. #2
    Bob Phillips
    Guest

    Re: new window event

    Try saving all the application window captions on startup, and each time a
    window is activated, check against your list (array). If found, ignore, if
    not its new so do your stuff and add it.

    Maybe it would be best to check all windows on any activate, in case one is
    closed.

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "John" <nonone@nowhere.com> wrote in message
    news:1152284065.405902@smtp-1.griffin.com...
    > Hi
    >
    > xl2003. Does anyone know how I can get an event to fire when the user

    opens
    > a new window ?
    >
    > 'withevents' in a class module offers activate, deactivate and resize but

    no
    > other likely suspects.
    >
    > Any help, advive or pointers gratefully received.
    >
    > Many thanks
    > John
    >
    >




  3. #3
    John
    Guest

    Re: new window event

    Thanks Bob, nice workaround!

    "Bob Phillips" <bob.NGs@somewhere.com> wrote in message
    news:ed5ZjgdoGHA.4828@TK2MSFTNGP04.phx.gbl...
    > Try saving all the application window captions on startup, and each time a
    > window is activated, check against your list (array). If found, ignore, if
    > not its new so do your stuff and add it.
    >
    > Maybe it would be best to check all windows on any activate, in case one
    > is
    > closed.
    >
    > --
    > HTH
    >
    > Bob Phillips
    >
    > (replace somewhere in email address with gmail if mailing direct)
    >
    > "John" <nonone@nowhere.com> wrote in message
    > news:1152284065.405902@smtp-1.griffin.com...
    >> Hi
    >>
    >> xl2003. Does anyone know how I can get an event to fire when the user

    > opens
    >> a new window ?
    >>
    >> 'withevents' in a class module offers activate, deactivate and resize but

    > no
    >> other likely suspects.
    >>
    >> Any help, advive or pointers gratefully received.
    >>
    >> Many thanks
    >> John
    >>
    >>

    >
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1