Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT Print - Hide Fila Dialog
SWT Print - Hide Fila Dialog [message #458641] Mon, 18 July 2005 10:41
Eclipse UserFriend
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);
Previous Topic:List control problem
Next Topic:Any tutorials on SWT?
Goto Forum:
  


Current Time: Fri Apr 26 11:54:39 GMT 2024

Powered by FUDForum. Page generated in 0.04003 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top