From: "A.Appleyard" Organization: Materials Science Centre To: DJGPP AT DELORIE DOT COM Date: Tue, 17 Sep 1996 08:51:20 GMT Subject: Windows Message-ID: <14B3BA769E0@fs2.mt.umist.ac.uk> I am again very sorry about being off-topic, but could someone out there PLEASE tell me the appropriate email group for this query and how to join it? I tried WINNT-L (about Windows NT), which was the nearest to topic that I found in LISTSERV AT WVNVM DOT WVNET DOT EDU's very long downloadable list of email groups, and from them got a mass of irrelevant matter but no reply. .................................................................. I am writing a Windows 3.1 application for various PC's, some of which are old and slow and/or haven't got much high-memory. I want to do this:- (a) Set up a BITMAP, same width and height as a particular window's client area, one bit per pixel (regardless of how many bits per pixel the screen currently uses) to save storage as far as possible. (b) Give that BITMAP its own HDC. (c) Use that HDC to write lines and text to the BITMAP using Windows's LineTo() TextOut() PutPixel() etc functions, like I would write to a window, so I have the whole graph in the BITMAP. (d) Copy that BITMAP directly to the window, so the user can see it, without having to go via other intermediate store-consuming working bitmaps. Note that calling PutPixel() or SetPixel() separately on every pixel in the window takes a very long time. (e) If the user wants it, call a function Screen::PCX(char*filename) which I wrote, to make from the BITMAP a black-and-white PCX file. That is why I want a copy of the graph which is complete regardless of how much of the window is hidden under other windows or off the edge of the screen. I tried this myself, but my attempt at programming stage (b) overwrote something and made my Windows wreck spectacularly. I would be very glad of help here.