VPE_BEFORE_SAVE_FILE

<< Click to Display Table of Contents >>

Navigation:  Messages Generated by VPE-DLL >

VPE_BEFORE_SAVE_FILE

Previous pageReturn to chapter overviewNext page

[Windows platform only]

Is sent when the user clicked the Save File button in the toolbar (or pushed the corresponding key) and before the save dialog is shown.

VPE_BEFORE_SAVE_FILE

WPARAM wParam

LPARAM lParam

Parameters:

wParam

unused

lParam

contains the document-handle, so you can determine which document has sent the message

Remarks:

Your application should return:

Value

Description

0

continue operation

1

cancel operation, i.e. do not show the save dialog

 

Cancelling the operation allows you to display your own save dialog and to export your own document, for example to a memory stream and from there to a database.

 

See also:

VpeGetSaveFileName