🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13343

can't start print dialog box

#13343
From: Richard Yu
Date: Thu, 16 Oct 2003 22:09
7 lines
1117 bytes
I use the following code, why I can't start the print dialog box in C++?

I am using win2000, cbuilder 6,

HRESULT hResult1;
PRINTDLGEX pd1
hResult1 = PrintDlgEx(&pd1);
Technical Details
Message-ID: <3f8f1905$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,517b17f45791657
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-16 15:39:38 PST
From: "Richard Yu" <richard@colorselector.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: can't start print dialog box 
Date: Thu, 16 Oct 2003 15:09:23 -0700
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 24.207.7.224
Message-ID: <3f8f1905$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066342661 24.207.7.224 (16 Oct 2003 15:17:41 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail