× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ok, having issues here.  First I was looking into PrintDlg, but realized
that for Windows 2000 (which is what we're on) I should be using
PrintDlgEx - http://msdn2.microsoft.com/en-us/library/ms646942.aspx

When I get to the print screen action, I get the following error: 0211
Error occurred while calling program or procedure PrintDlgEx.

My prototype:
      *  Display the Print Dialog Window
     D PrintDlgEx      PR            10u 0 ExtProc('PrintDlgEx')
     D                                     dll('comdlg32.dll')
     D                                     LinkAge(*StdCall)
     D  pPrintDS                       *   Value

My call (gresultUns = 10u 0):
  gResultUns = PrintDlgEx( pPrintDialogDS ); 

I've tried changing the case on ComDlg32.dll, but it doesn't seem to
matter.  I've verified that comdlg.dll is in C:\WinNT\System32, and that
directory is in my PATH.

Anyone have any ideas?

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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.