🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Question on DocumentProperties

#7990
From: Keith
Date: Sun, 05 Dec 2004 01:24
14 lines
1326 bytes
How may I go about setting up a hook proc to center a printer properties
page initiated by call to DocumentProperties (or
AdvancedDocumentProperties)?

I have Damon Chandler's PageSetupHook* from long ago.. I just need to
know how to get the proc address into the message loop.

TIA

keith

UINT APIENTRY PageSetupHook(HWND HDlg, UINT uiMsg, WPARAM WParam, LPARAM
LParam)
from borland.public.cppbuilder.winapi Aug 25,1999
Technical Details
Message-ID: <41B2636B.F4F0D240@sbcglobal.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,68a52d51e67a0e15,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <41B2636B.F4F0D240@sbcglobal.net>
Date: Sat, 04 Dec 2004 19:24:59 -0600
From: Keith <kdopson@sbcglobal.net>
X-Mailer: Mozilla 4.79 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Question on DocumentProperties
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.71.227.85
X-Trace: newsgroups.borland.com 1102209742 65.71.227.85 (4 Dec 2004 17:22:22 -0800)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail