VPE_DESTROYWINDOW

<< Click to Display Table of Contents >>

Navigation:  Messages Generated by VPE-DLL >

VPE_DESTROYWINDOW

Previous pageReturn to chapter overviewNext page

[Windows platform only]

Is sent when the preview window was destroyed - for example closed by the user - and EnableAutoDelete is True (the default).

The document is also closed (removed from memory).

VPE_DESTROYWINDOW

WPARAM wParam

LPARAM lParam

Parameters:

wParam

unused

lParam

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

Remarks:

Do not call any VPE function when processing this event. The document is already closed and not accessible.

 

This message is sent, if EnableAutoDelete is True and the user closes the preview. Otherwise the message VPE_CLOSEWINDOW is sent.

 

Your application should return zero if it processes this message.