Graeme Townsend wrote:
> Hi All,
>
> I have a dialog class derived from CDHtmlDialog that
views/displays a html
> file.
>
> Can anyone advise me of an easy way to print the html
view?
You can call the print() function on the window object.
> (Or indeed another way to programmatically open then
print a html file?)
How about calling ShellExecute() with the
"print" verb? This should
open the page in user's default browser for printing.
--
Ehsan
------------------------------------------------------------
--------------
The MSVC list is hosted on a Windows NT(TM) machine running
L-Soft
international's LISTSERV(R) software. For
subscription/signoff info
and archives, see http:/
/peach.ease.lsoft.com/archives/msvc.html .
COPYRIGHT INFO:
http://peach.ease.lsoft.com/scripts/wa.ex
e?SHOWTPL=COPYRIGHT&L=MSVC
|