Newsgroups: comp.windows.ms.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!pa.dec.com!hollie.rdg.dec.com!casee.enet.dec.com!lalli
From: lalli@casee.enet.dec.com ()
Subject: Re: Extra Bytes in Dialog Window
Message-ID: <1991May30.093216.27378@hollie.rdg.dec.com>
Sender: news@hollie.rdg.dec.com (Mr News)
Reply-To: lalli@casee.enet.dec.com ()
Organization: Digital Equipment Corporation
References:  <1663@msa3b.UUCP>
Date: Thu, 30 May 1991 09:32:16 GMT

>I need to store 2 bytes in a dialog window. In "normal" windows,
>I set cbClsExtra = 2, and use SetWindowWord and GetWindowWord.

You could use SetProp/GetProp instead of SetWindowWord/GetWindowWord. You'll
need to RemoveProp as well. I think the size of a property is limited to an 
Handle, but you can use multiple ones.
 
Hope this helps


--
Didier Lalli				lalli@casee.enet.dec.com
Digital Equipment,
Centre Technique Europe S.A.R.L.        DTN 828-5423
B.P. 129 - Sophia Antipolis 	        Tel. +33 92 95 54 23
06561 Valbonne Cedex - France	        Fax  +33 93 65 41 58
