🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2971

Re: Extra Bytes in Dialog Window

#2971
From: CADSI
Date: Fri, 31 May 1991 21:05
21 lines
1596 bytes
From article <15781@adobe.UUCP>, by jciccare@adobe.COM (John Ciccarelli):
> 
> I never used the "extra bytes" technique; SetProp and GetProp work just
> fine regardless of window class.
> 

We must be carefull in general.  Speed is an issue, especially with Windows.
If all programs forego the ability to use the 'Extra Bytes', too much
time CPU will be used in the GetProp function.  The GetWindowWord and Long
routines are significantly faster than GetProp.  Some programs use
these capabilities to store object pointers.  In order to retrieve the
object during a Window Message, you gotta call one of them.  As the
number of programs in the desktop increase, so will the number of
messages and speed will become an issue.  This hasn't happened yet,
but programmers should think along this line.

|----------------------------------------------------------------------------|
|Tom Hite					|  The views expressed by me |
|Manager, Product development			|  are mine, not necessarily |
|CADSI (Computer Aided Design Software Inc.	|  the views of CADSI.       |
|----------------------------------------------------------------------------|
Technical Details
Message-ID: <1991May31.210556.16991@ccad.uiowa.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!uunet!ns-mx!ccad.uiowa.edu!cadsi
References: <15781@adobe.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!wuarchive!uunet!ns-mx!ccad.uiowa.edu!cadsi
From: cadsi@ccad.uiowa.edu (CADSI)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Extra Bytes in Dialog Window
Message-ID: <1991May31.210556.16991@ccad.uiowa.edu>
Date: 31 May 91 21:05:56 GMT
References: <15781@adobe.UUCP>
Organization: CAD-Research, U. of Iowa, Iowa City, Iowa
Lines: 21