🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #956

Re: Icons in the title bar (a la EPM in ring enabled mode)

#956
From: David Bolen
Date: Thu, 10 Sep 1992 17:18
24 lines
1882 bytes
In article <1992Sep10.192335.36146@watson.ibm.com> Larry Margolis <margoli@watson.ibm.com> writes:

>   Process the WM_FORMATFRAME message by calling the frame's default
>   windowproc, and you'll get back an array of SWP structures equivalent
>   to the value you returned for WM_QUERYFRAMECTLCOUNT.  The last n are
>   for the ones you added, and are there for formatting the controls you
>   want to add.

I almost posted something close to this until I realized that I didn't know
if the last n SWP structures were definitely for me.  Just out of curiosity,
what happens in the case where the frame window is already subclassed by
some other set of special controls (say you're using a library that provides
a frame with other new controls)?  Are your own SWP structures still last,
or is there a way to definitely find those that were allocated for your use
(check for 0 HWNDs maybe)?

--
-- David
--
/-----------------------------------------------------------------------\
 \              David Bolen             \  Internet: db3l@ans.net      /
  |   Advanced Network & Services, Inc.   \   Phone: (914) 789-5327   |
 / 100 Clearbrook Road, Elmsford, NY 10523  \   Fax: (914) 789-5310    \
\-----------------------------------------------------------------------/
Technical Details
Message-ID: <1992Sep10.211453.26198@ans.net>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!caen!malgudi.oar.net!news.ans.net!ans.net!db3l
References: <1992Sep10.192335.36146@watson.ibm.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!caen!malgudi.oar.net!news.ans.net!ans.net!db3l
From: db3l@ans.net (David Bolen)
Subject: Re: Icons in the title bar (a la EPM in ring enabled mode)
Sender: news@ans.net (News Administrator)
Message-ID: <1992Sep10.211453.26198@ans.net>
In-Reply-To: Larry Margolis's message of Thu, 10 Sep 1992 19: 23:35 GMT
Date: Thu, 10 Sep 1992 17:18:35 GMT
Distribution: comp.os.os2.programmer
References: <1992Sep10.192335.36146@watson.ibm.com>
Organization: Advanced Network & Services, Inc. - Elmsford, NY
Lines: 24