SWT Print - Hide Fila Dialog [message #458641] |
Mon, 18 July 2005 10:41 |
Eclipse User |
|
|
|
Originally posted by: simon.nestler.gmail.com
Hi!
In my application I'm printing the content of an embedded Browser.
That works fine - so far.
Due to the fact, that I'm printing the content to a file, always
a dialog appears, even if the dialog-option is set to false. In
that dialog a filename has to be entered. Does anyone now, how I
can access that second dialog?
Thank you,
Simon
P.s: A short excerpt of my printing routine:
int[] rgd = auto.getIDsOfNames(new String[] "ExecWB", "cmdID",
"cmdexecopt" });
Variant[] rgvarg = new Variant[2];
rgvarg[0] = new Variant(OLE.OLECMDID_PRINT);
rgvarg[1] = new Variant(2);
int[] rgdispidNamedArgs = new int[2];
rgdispidNamedArgs[0] = rgd[1];
rgdispidNamedArgs[1] = rgd[2];
auto.invoke(rgd[0], rgvarg, rgdispidNamedArgs);
|
|
|
Powered by
FUDForum. Page generated in 0.04003 seconds