**************************************************************************** //
** ** //
** Class : Print_Dialog_Mixin ** //
** ** //
** Purpose : This class defines properties and funcions common to both ** //
** the PrintDialog and PageSetupDialog dialog boxes. ** //
** ** //
**************************************************************************** //
Define_Print_Dialog()
************************************************************************ //
** ** //
** Procedure : Define_Print_Dialog ** //
** ** //
** Purpose : Define properties common to the PrintDialog and ** //
** PageSetupDialog boxes. ** //
** ** //
************************************************************************ //
- String
PointerToString(Pointer pString)
**************************************************************************** //
** ** //
** Function : PointerToString ** //
** ** //
** Purpose : This function takes a pointer to a null terminated string ** //
** and returns the string without the null. ** //
** ** //
**************************************************************************** //
- String
sCharacter - String
sString - Integer
pCharacter - Integer
iResult
- Handle
InitDevMode()
************************************************************************ //
** ** //
** Function : InitDevMode ** //
** ** //
** Purpose : This function returns a handle to a global memory ** //
** object that contains a DEVMODE structure. ** //
** ** //
** Returns : Returns the handle to the global memory object, zero if ** //
** the global memory object could not be allocated. ** //
** ** //
************************************************************************ //
- Integer
iFields - Integer
iVoid - Integer
iResult - Integer
pHeap - Integer
pDevMode - String
sDevMode - Integer
hHeap
- Handle
InitDevNames()
************************************************************************ //
** ** //
** Function : InitDevNames ** //
** ** //
** Purpose : This function returns a handle to a global memory ** //
** object that contains a DEVNAMES structure. ** //
** ** //
** Returns : Returns the handle to the global memory object, zero if ** //
** the global memory object could not be allocated. ** //
** ** //
************************************************************************ //
- Integer
pHeap - Integer
pDriverName - Integer
pDeviceName - Integer
pOutputName - Integer
pDevNames - String
sDriverName - String
sDeviceName - String
sOutputName - String
sDevNames - Integer
iSize - Integer
iVoid - Integer
iResult - Integer
hHeap
- Integer
ReadDevMode(Handle hDevMode)
************************************************************************ //
** ** //
** Function : ReadDevMode ** //
** ** //
** Purpose : This function reads the members of the DEVMODE ** //
** structure when the PrintDialog or PageSetupDlg function ** //
** returns. ** //
** ** //
************************************************************************ //
- Integer
iResult - Integer
iFields - String
sDevMode - String
sHeap - Integer
pDevMode - Integer
pHeap
- Integer
ReadDevNames(Handle hDevNames)
************************************************************************ //
** ** //
** Function : ReadDevNames ** //
** ** //
** Purpose : This function reads the members of the DEVNAMES ** //
** structure when the PrintDialog or PageSetupDlg function ** //
** returns. ** //
** ** //
************************************************************************ //
- Integer
iResult - Integer
iOffset - String
sDevNames - String
sHeap - Integer
pDevNames - Integer
pHeap
- handle
ParentWindowHandle()
************************************************************************ //
** ** //
** Function : ParentWindowHandle ** //
** ** //
** Purpose : This function returns the windows handle to be used ** //
** as the parent window handle ** //
** ** //
** Returns : Should return a valid handle or 0. If zero the dialog ** //
** will be modeless (which you probably would never want) ** //
** ** //
************************************************************************ //
- Integer
hWnd - Integer
hoObj