Bug 47937 - [browser] print() API in WebBrowser
Summary: [browser] print() API in WebBrowser
Status: CLOSED DUPLICATE of bug 44823
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Christophe Cornu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-02 18:15 EST by Tim deBoer CLA
Modified: 2008-06-06 11:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim deBoer CLA 2003-12-02 18:15:32 EST
This request is for a public print() API on the SWT WebBrowser. Code for 
Windows/IE internals is shown below.

public void print() {
	int result = controlSite.queryStatus(OLE.OLECMDID_PRINT);
	if ((result & OLE.OLECMDF_ENABLED) == OLE.OLECMDF_ENABLED) {
		controlSite.exec(OLE.OLECMDID_PRINT, 
OLE.OLECMDEXECOPT_PROMPTUSER, null, null); 
	}
}
Comment 1 Sebastian Davids CLA 2004-03-19 07:16:27 EST
dup of bug 44823
Comment 2 Christophe Cornu CLA 2004-03-19 09:26:13 EST

*** This bug has been marked as a duplicate of 44823 ***
Comment 3 Tim deBoer CLA 2008-06-06 11:26:29 EDT
Closing duplicate defects.