AnsweredAssumed Answered

vrf 'popping-up' the execution window

Question asked by paul.fowler on Mar 9, 2003

Guys......

The API call "User32.ShowWindow" will do this for you. You will need to get
the window handle with the approriate call ("FindWindowA" or similar).
Pass "ShowWindow" a 0 to hide the window, 3 to maximise, 6 to minimize, and
9 to restore (which I guess is the one you need).

Paul F





                    "Shawn Fessenden"       To:  "VEE vrf" <vrf@it.lists.it.agilent.com>
                    <s_fessenden@hotmail.   cc:
                    com>                    Subject:  [vrf] RE: 'popping-up' the execution window
                              08/03/03
          20:07

          Please respond to "Shawn
          Fessenden"

          Stationery name:-Untitled-








>To bring a window to the front,
>look at API call "SetWindowPos".

Unfortunately, this will not be sufficient. The problem is to "pop the
window up" meaning to restore an iconized window. Using SetWindowPos can
change the window's Z-Order, but it can't "pop it up". Nor can
SetForegroundWindow for that matter (SetForegroundWindow uses SetWindowPos
internally).

There's a whole slew of functions that look as if they should work but
don't, including ActivateWindow, SetActiveWindow, etc.
-SHAWN-


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail


---
You are currently subscribed to vrf as: Paul.Fowler@raytheon.co.uk
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email
"vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".





---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes