Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!ames!vsi1!apple!well!brent From: brent@well.UUCP (Brent Southard) Newsgroups: comp.windows.ms Subject: Re: SDK Questions Summary: Turquoise Alert! - Alf Message-ID: <7780@well.UUCP> Date: 29 Nov 88 15:44:02 GMT References: <350@thebeach.UUCP> Reply-To: brent@well.UUCP (Brent Southard) Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 51 In article <350@thebeach.UUCP> adam@cfi.COM () writes: >I'm trying to create a special kind of window which will hold onto its >bitmap when invalidated. The Class Style SAVE_BITS seems to have something >to do with saving bitmaps, but by itself it does nothing, and there is >absolutely no documentation on how to use it. Has anyone out there used >this feature? No, and you're right about the documentation. I'll check OnLine about this. My gut feeling is that the bitmap may be saved in the DC whose handle is in the PAINTSTRUCT passed with every WM_PAINT msg. You may wish to check... >Also, has anyone ever used the EnumProps() function? If so, Can you explain >the correct form for the enumeration function that is passed as an argument? The Enumeration function must be an exported, far pascal function. MakeProcInstance() must be called with the function's name, and the far pointer returned is passed to EnumProps(). >Do all FARPROCs created with MakeProcInstance() need to be freed before >the end of the program with FreeProcInstance()? Yes. >What will happen if GDI objects like brushes are created but not freed >before a program terminates? Will this seriously screw things up, or >will it just make a small amount of memory permanently unavailable to >Windows? They will permanently use up precious Windows memory. PLEASE free them! >Have any of you out there successfully used CodeView with Windows? Not yet, but I don't think it will actually benefit me more than Symdeb, now that I'm already so familiar with that debugger, and considering the size of the application I'm working on. >Is anyone else out there using a Sun 386i for Windows development? I'd >like to know what debugging tools you're using which work under SunDOS. If you'll supply the Sun, I'll be glad to answer your question. big :) >Thank you all beforehand for any answers you may have. You're welcome. -- Brent Southard | Everybody's trying to be a friend of mine, Usenet: ...well!brent | Even a dog can shake hands. - W. Zevon CIS: 76657,415 | We fell into love, love's a very deep hole. GEnie: b.southard | - Loudon Wainwright III