kk@helios.cs.duke.edu (Krzysztof Kozminski) (02/23/90)
I want to be able to display in the Page Setup dialog the number of pages that the printout will take, so that the user can decide what magnification scale to use. The problem: the scale chosen by the user does not affect any of the fields in the print record. Moreover, clicks and typing into the 'Reduce or Enlarge' box do not get passed to the dialog hook function in the pItemProc of TPrDlog record (I use PrDlgMain as described in TN#95). Is there any legal way of getting the information I need, that is, what will the rPage rectangle be *if* the user clicks the OK button? Somehow I failed to find it in the IM or in the TNs ... In addition, I would like to restrict the printout scales to those that provide the exact BitMap alignment (I have other means of scaling the image, but the alignment is crucial). Is there any way to to this? KK