Article View: comp.os.ms-windows.programmer.misc
Article #1592Set window topmost during runtime - how ?
From: Steffen Krause
Date: Wed, 14 Oct 1992 10:02
Date: Wed, 14 Oct 1992 10:02
19 lines
1402 bytes
1402 bytes
Hi everybody !
How can I set a window that is already created and visible to be a 'TOPMOST'
window in WIN 3.1 ?
Simply calling
SetWindowLong(HWindow, GWL_EXSTYLE, //(don't remember exactly the name)
GetWindowLong(HWindow, GWL_EXSTYLE) | WS_EX_TOPMOST);
does not work. Doing the reverse ( & ! WS_EX_TOPMOST) for a topmost-created
window doesn't work, too.
What do I have to do ? Do I have to destroy the window and create a new one ?
If yes, how can this be done with BC3.1 & OWL ?
Thanks for any hints !
Steffen
skrause@informatik.hu-berlin.de
--
---------------- Steffen Krause --------------------------------------------
Zu Risiken oder Nebenwirkungen lesen Sie die Packungsbeilage und informieren
Sie Ihren Arzt oder Apotheker.
----------------------------------------------------------------------------
Technical Details
Message-ID:
<skrause.719056967@hp832>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!nigel.msen.com!math.fu-berlin.de!dct.zrz.tu-berlin.de!zrz.tu-berlin.de!hahn.informatik.hu-berlin.de!hp832!skrauseShow Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!nigel.msen.com!math.fu-berlin.de!dct.zrz.tu-berlin.de!zrz.tu-berlin.de!hahn.informatik.hu-berlin.de!hp832!skrause From: skrause@informatik.hu-berlin.de (Steffen Krause) Subject: Set window topmost during runtime - how ? Message-ID: <skrause.719056967@hp832> Sender: news@hp832.informatik.hu-berlin.de (H.Boehme U.Kunitz) Organization: Humboldt University Berlin, Department of Computer Science Date: Wed, 14 Oct 1992 10:02:47 GMT Lines: 19