<< Click to Display Table of Contents >> VPE_BEFORE_SAVE_FILE |
![]() ![]() ![]() |
[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.