There is a missing declaration in the comdlg32.inc file !
It is the declaration for the Page Setup Dialog, which is the
recommended Dialog to use instead of the old Setup Dialog. All API
docs I have seen say the old Setup Dialog is obsolete and only kept for
backward compatibility. All new Win32 apps should be using the
Page Setup Dialog.
Here is the necessary declarations needed for the Page Setup Dialog :
Note to PB Tech Support:
You may want to add this to the comdlg32.inc file !
------------------
It is the declaration for the Page Setup Dialog, which is the
recommended Dialog to use instead of the old Setup Dialog. All API
docs I have seen say the old Setup Dialog is obsolete and only kept for
backward compatibility. All new Win32 apps should be using the
Page Setup Dialog.
Here is the necessary declarations needed for the Page Setup Dialog :
Code:
TYPE tagPSD lStructSize AS DWORD hwndOwner AS LONG hDevMode AS LONG hDevNames AS LONG Flags AS DWORD ptPaperSize AS POINTAPI rtMinMargin AS RECT rtMargin AS RECT hInstance AS LONG lCustData AS LONG lpfnPageSetupHook AS LONG lpfnPagePaintHook AS LONG lpPageSetupTemplateName AS LONG hPageSetupTemplate AS LONG END TYPE DECLARE FUNCTION PageSetupDlg LIB "COMDLG32.DLL" ALIAS "PageSetupDlgA" (PSD AS tagPSD) AS LONG
You may want to add this to the comdlg32.inc file !
------------------
Comment