🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #29

how find siblings (WS_OVERLAPPED, not WS_CHILD)

#29
From: John Grant
Date: Wed, 28 Oct 1992 01:26
16 lines
1071 bytes
From my main window, I create a few WS_OVERLAPPED windows with the main window
as the parent.  These are not WS_CHILD, WS_POPUP etc.  I want them always in
front of the main window, kind of like MDI, but not quite.

Anyway, how do I find them all from the main window?  I tried EnumWindows but
it doesn't seem to work - in the callback function, I checked each window's
parent against the hwnd of the main window.  It found nothing.  The docs say
it finds all *parent* windows, so perhaps that's not what I want.

Then I looked at EnumChildWindows, but the docs say it is only for child
windows, so I guess that means WS_CHILD.

John A. Grant
Geological Survey of Canada
Ottawa, Ontario
Technical Details
Message-ID: <1992Oct28.012609.23510@emr1.emr.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!cunews!nrcnet0!emr1!jagrant

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!cunews!nrcnet0!emr1!jagrant
From: jagrant@emr1.emr.ca (John Grant)
Subject: how find siblings (WS_OVERLAPPED, not WS_CHILD)
Message-ID: <1992Oct28.012609.23510@emr1.emr.ca>
Organization: Dept. of Energy, Mines, and Resources, Ottawa
Date: Wed, 28 Oct 1992 01:26:09 GMT
Lines: 16