Article View: comp.windows.ms.programmer
Article #2037How to do system-wide floating window?
From: Frederick Wamsley
Date: Thu, 11 Apr 1991 00:51
Date: Thu, 11 Apr 1991 00:51
23 lines
1216 bytes
1216 bytes
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?
(I do have a legitimate reason for doing something so nonstandard).
Thanks,
Fred
--
Fred Wamsley {ucbvax,pacbell,apple,hplabs}!well!alcmist;
CIS 72247,3130; GEnie FKWAMSLEY; USPS - why bother?
"There's a perfectly logical explanation for all this"
Technical Details
Message-ID:
<24137@well.sf.ca.us>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!well!alcmistShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!well!alcmist From: alcmist@well.sf.ca.us (Frederick Wamsley) Newsgroups: comp.windows.ms.programmer Subject: How to do system-wide floating window? Message-ID: <24137@well.sf.ca.us> Date: 11 Apr 91 00:51:06 GMT Distribution: comp Lines: 23