🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.win32
Article #2195

Re: Printing With Win32 API, MSDN example gives error

#2195
From: Kellie Fitton
Date: Sun, 04 Sep 2005 21:33
15 lines
2236 bytes
Hi,

Before calling the API StartDoc(), the application should call the API
SetAbortProc() to set the abort procedure, then disables its own window
by using the API EnableWindow(), and displays the print-status or the
abort modeless dialogBox containing a Cancel button and some statics
controls to show the document name and the number of pages printed.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_0883.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/enablewindow.asp

Hope these information helps,

Kellie.
Technical Details
Message-ID: <1125869610.664507.16020@f14g2000cwb.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail
References: <1125794713.945948.34130@g43g2000cwa.googlegroups.com> <1125796596.258211.216430@o13g2000cwo.googlegroups.com> <1125797458.355143.293200@o13g2000cwo.googlegroups.com> <1125797788.933745.316410@g47g2000cwa.googlegroups.com> <1125798586.549052.71820@g44g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 113dfb,24b6e7811432affe
X-Google-Thread: 1091e5,24b6e7811432affe
X-Google-Attributes: gid113dfb,gid1091e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail
From: "Kellie Fitton" <KELLIEFITTON@YAHOO.COM>
Newsgroups: comp.os.ms-windows.programmer.win32,borland.public.delphi.winapi
Subject: Re: Printing With Win32 API, MSDN example gives error
Date: 4 Sep 2005 14:33:30 -0700
Organization: http://groups.google.com
Lines: 16
Message-ID: <1125869610.664507.16020@f14g2000cwb.googlegroups.com>
References: <1125794713.945948.34130@g43g2000cwa.googlegroups.com>
   <1125796596.258211.216430@o13g2000cwo.googlegroups.com>
   <1125797458.355143.293200@o13g2000cwo.googlegroups.com>
   <1125797788.933745.316410@g47g2000cwa.googlegroups.com>
   <1125798586.549052.71820@g44g2000cwa.googlegroups.com>
NNTP-Posting-Host: 66.52.48.24
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1125869615 19047 127.0.0.1 (4 Sep 2005 21:33:35 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 4 Sep 2005 21:33:35 +0000 (UTC)
In-Reply-To: <1125798586.549052.71820@g44g2000cwa.googlegroups.com>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; YComp 5.0.2.4),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: f14g2000cwb.googlegroups.com; posting-host=66.52.48.24;
   posting-account=ovT5twwAAAAXEPNG5u8nYllkurIBN5dA