|
Tom, Thanks for giving me hope. ;) Near as I can tell I have to use PrintDlg (http://msdn2.microsoft.com/en-us/library/ms646940.aspx) to get to the printer device context handle. This value is in a windows structure though... How do I access that in VARPG? Or is there a better way to get the printer device context handle? Thanks, Kurt Anderson Application Developer Highsmith Inc -----Original Message----- From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of qsrvbas@xxxxxxxxxxxx Sent: Tuesday, March 27, 2007 10:25 PM To: wdsci-l@xxxxxxxxxxxx Subject: Re: [WDSCI-L] VARPG Was: RE: George Farr declaresfeaturespecificpricingonhorizonfor Kurt Anderson wrote:
6. VARPG Was: RE: George Farr declares featurespecificpricingonhorizonfor WDSC (Kurt Anderson) Booth, in all your time with VARPG - do you know how to print screen
and
include the title bar? (I'm working on getting set up with the newsgroup, just hasn't happened yet.)
Kurt: AFAIK, you do a full-window print with VARPG the same way you do it in any other Windows app -- you call the PrintWindow function out of Windows GDI. See: http://msdn2.microsoft.com/en-us/library/ms535695.aspx Almost all related functions should be locatable through the navigation pane. (For example, you'll want to get the handle of the active window, find the printer "device context", etc.) Welcome to Windows programming? Tom Liotta -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 253-479-1416 Fax 253-872-7904 http://www.powertech.com -- This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.