TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: all
from: Andreas Just
date: 1996-10-28 08:27:24
subject: window allways on top

Hy all,
I'm searching for a solution to put a window allways on top of an unknown window
(StarOffice Writer).
I've tried one way with an extra thread, which will allways check the
specified window
position, but this way isn't nice ->flickering.

Now I think it should be better to set the parent/owner of this win to the
main framewindow
of StarWriter, but how can I reach the handle from this window ?

With DosQProcStatus I get the Session ID, but not the window handle, and it
seems there are no Toolkit (better IOCL) functions to reach the HWND ?

Enumarate alle desktop windows and WinQueryWindowText may be also a way,
but this does only find the target window, when the titlename never
changes.

Any hints or ideas ?

TschuesS/2
     Andreas

--- FleetStreet 1.02 NR
* Origin: (2:241/53.33)
SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1
@PATH: 241/53 1000 24/999 888 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.