home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!yorkohm!jkn
- From: jkn@ohm.york.ac.uk (John Nicoll)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: beginner query: reentrant WinProc?
- Message-ID: <1992Jul29.155804.20680@ohm.york.ac.uk>
- Date: 29 Jul 92 15:58:04 GMT
- Organization: Electronics Department, University of York, UK
- Lines: 22
-
- Hello all,
- I'm modifying someones very dodgy windows code
- to add functionality such as multiple zoom windows
- of a structure containing spectrum information. Am I right
- in understanding that the WinProc window handler
- must be reentrant - ie. no static variables? Petzold &
- the other books I have don't mention anything about this.
-
- Am I further correct in thinking that the best way to do this
- is to allocate extra bytes in the Window Class, and use these
- to point to my structures, initialising as WM_CREATE time etc?
-
- any information gratefully received - email or otherwise
-
- thank you
- john N
-
- --
- john nicoll (jkn@ohm.york.ac.uk)
- Department of Electronics University of York
- Heslington YORK YO1 5DD U.K
- Tel +44 (904) 432381 Fax +44 (904) 432335
-