CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (6 messages)

From: Gary Capps Foundation Classes Forum · Doc/View/UI July 11, 1994 10:45 PM
BP> I want to enhance an app based on the CScrollView BP> class. What I want is to add zoom in, zoom out capabilities. I did this for an application that displays CAD-type entitiy lists which had to be mapped from real-world coordinates to GDI's 16 bit integer coordinate space.…
JG> I believe that I have found a contradiction in the JG> documentation of CFile, regarding whether destroying an JG> open CFile will cause the associated operating system file JG> to be closed. JG> JG> Which one is right? They both are :). Actually, if the ctor CFile::CFile( int hFile…
KC> Please show me a way to handle errors inside KC> a constructor. A constructor does not return KC> a value. It cannot return a NULL or FALSE KC> to the parent program that the constructor KC> encounters an error. About your only choice is to throw an exception. Unfortunately,…
#30391 print page size Message #30412
CS> Perhaps if you pass Zircon Encrusted Tweezers, CS> we could pontificate this subject. Yippie-eye-oh-tye-ay, pardner 😉 gc The dental floss tycoon of Norman, Oklahoma USA — "Is that a *real* poncho or is that a *Sears* poncho?"
print page size Message #30355
GR> Can one get the size of the paper in device units (pixels) GR> such that OnPrepareDC can set the viewport extent to be GR> appropriate for the printer paper and not the screen? The following will get the size of the *paper* in logical units (MM_HIENGLISH) which can then…
#30329 formview Message #30354
BS> I' writing a simple formview application — Just a few edit controls, BS> static controls Band buttons in the main view. I want the backround BS> color of the main client area to be gray (RGB(192,192,192)) — by BS> default it comes up white. You must handle both the…