Article View: borland.public.cppbuilder.nativeapi
Article #13342Re: can't start print dialog box
From: Remy Lebeau (TeamB)
Date: Thu, 16 Oct 2003 22:33
Date: Thu, 16 Oct 2003 22:33
13 lines
1566 bytes
1566 bytes
"Richard Yu" <richard@colorselector.com> wrote in message news:3f8f1905$1@newsgroups.borland.com... > I use the following code, why I can't start the print dialog box in C++? Probably because you did not initialize the PRINTDLGEX structure first. You need to set the structure's lStructSize member to the size of the structure before calling PrintDlgEx(). Depending on your actual needs for the dialog, you may need to fill in other members of the structure as well, such as hwndOwner, Flags, ExclusionFlags, nPageRanges, lpPageRanges, etc. Gambit
Technical Details
Message-ID:
<3f8f1c4f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f8f1905$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,517b17f45791657,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-16 15:39:38 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f8f1905$1@newsgroups.borland.com> Subject: Re: can't start print dialog box Date: Thu, 16 Oct 2003 15:33:58 -0700 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.137.75 Message-ID: <3f8f1c4f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066343503 67.22.137.75 (16 Oct 2003 15:31:43 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeeds.sol.net!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail