Hi everyone,
Now that I've got my header / footer function working
without crashing, I need to correctly determine the height (in
device units) of any given header / footer that I will be
making.
I'm assuming that I will need to create a 10 point Arial font
(my preference for now), select it into the supplied hDC (device
context is initialized by a DLL), and then somehow calculate the
height based upon how many lines of text I require. Is there a
standard way of doing this?
------------------
Bernard Ertl
Now that I've got my header / footer function working
without crashing, I need to correctly determine the height (in
device units) of any given header / footer that I will be
making.
I'm assuming that I will need to create a 10 point Arial font
(my preference for now), select it into the supplied hDC (device
context is initialized by a DLL), and then somehow calculate the
height based upon how many lines of text I require. Is there a
standard way of doing this?
------------------
Bernard Ertl
Comment