[comp.windows.ms.programmer] How to do system-wide floating wind

jeff@cdp.UUCP (04/12/91)

>You know how, in Write, the Find dialog floats on top of the document but
>allows the parent to maintain the focus?  In other words you can type
>text into a document underneath the Find dialog.
>
>That's easy to do.  Normal WS_POPUP style will accomplish that much.
>But suppose I want to get the same effect globally , and have a window
>which floats over all other applications?  How can that be done?  It's
>easy to keep it on the top, but all three of the obvious API's for
>putting a window at the top of the Z order also activate it and give
>it the focus.
>
>Has anyone actually done this?  If so, how?

One method is to remember which window had the focus, then give the
focus back to that window (with SetFocus) after the popup is in
place.

	Jeff Dean
	jeff@cdp.igc.org
	uunet!pyramid!cdp!jeff