The CloseDocwin transaction closes the specified document window and optionally prompts the user to save the document if it has been changed. If savePrompt is set to 0 (do not prompt), users will not be prompted to save documents, even if they have changed.
Type XTYP_EXECUTE
Syntax [CloseDocwin(docwinID, savePrompt)]
|
Parameter |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 | docwinID |
active | specific |
|
savePrompt |
BOOL |
0 | 1 |
do not prompt | prompt |
See also