¼Ç ÊÂ ±¾ Êµ ¼Ê ÊÇ µ÷ ÓÃ ÁË Win32 APIµÄ PageSetupDlgº¯ Êý ¡£ Õâ ¸ö º¯ Êý µÄ ¶¨ Òå ÔÚ win32api.txtÖÐ ¿É ÒÔ ÕÒ µ½ ¡£ 
    Àý ×Ó £º 
    ÏÈ ¼Ó Èë Ò» ¸ö Ä£ ¿é £¬ Êä Èë ÒÔ ÏÂ ´ú Âë £º 
    Type POINTAPI 
     x As Long 
     y As Long 
    End Type 
     
    Type RECT 
     Left As Long 
     Top As Long 
     Right As Long 
     Bottom As Long 
    End Type 
     
    Type PageSetupDlg 
     lStructSize As Long 
     hwndOwner As Long 
     hDevMode As Long 
     hDevNames As Long 
     flags As Long 
     ptPaperSize As POINTAPI 
     rtMinMargin As RECT 
     rtMargin As RECT 
     hInstance As Long 
     lCustData As Long 
     lpfnPageSetupHook As Long 
     lpfnPagePaintHook As Long 
     lpPageSetupTemplateName As String 
     hPageSetupTemplate As Long 
    End Type 
    Public psdlg As PageSetupDlg 
    Declare Function PageSetupDlg Lib "comdlg32.dll" Alias "PageSetupDlgA" (pPagesetupdlg As PageSetupDlg) As Long 
    È» ºó Êä Èë £º 
    Private Sub Command1_Click() 
     
     psdlg.lStructSize = Len(psdlg) 
     psdlg.hwndOwner = hWnd 
     PageSetupDlg psdlg 
    End Sub 
<END>     
    