GEOS SDK TechDocs
|
|
4.4 Special-Purpose Messages
|
4.6 Some Other Internal Messages
MSG_GEN_DOCUMENT_CONTROL_DISPLAY_DIALOG, MSG_GEN_DOCUMENT_CONTROL_INITIATE_NEW_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_USE_TEMPLATE_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_USE_TEMPLATE_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_OPEN_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_IMPORT_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_SAVE_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_SAVE_AS_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_SAVE_AS_TEMPLATE_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_MOVE_TO_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_COPY_TO_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_EXPORT_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_SET_TYPE_DOC, MSG_GEN_DOCUMENT_CONTROL_INITIATE_SET_PASSWORD_DOC
If you wish, you can force the document control to take certain actions as if the user had requested them. You do this by sending the message which would ordinarily trigger such an action. For example, when the user selects the "save" trigger, that trigger sends the message MSG_GEN_DOCUMENT_CONTROL_INITIATE_SAVE_DOC to the Document Control object. If you wish, you can force a save by sending this message manually; the document control will behave as if the user had selected that action.
void MSG_GEN_DOCUMENT_CONTROL_DISPLAY_DIALOG();
This message forces the document control to display the opening "New/Open" dialog box, as if the user had selected the "New/Open" trigger on the File menu.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_NEW_DOC();
This message forces the document control to create a new file, exactly as if the user had requested it.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_USE_TEMPLATE_DOC();
This message forces the document control to create a new file from a template (bringing up an appropriate file selector), exactly as if the user had requested it.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_OPEN_DOC();
This message forces the document control to open a file (bringing up the appropriate file selector), exactly as if the user had requested it.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_IMPORT_DOC();
This message forces the document control to import a file (bringing up the appropriate file selector), exactly as if the user had requested it.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_SAVE_DOC();
This message forces the document control to save the active file, exactly as if the user had requested it.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_SAVE_AS_DOC();
This message forces the document control to save the active file under a new name (bringing up the appropriate file selector), exactly as if the user had requested it.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_SAVE_AS_TEMPLATE_DOC();
This message forces the document control to save the active file as a template (bringing up the appropriate file selector), exactly as if the user had requested it.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_MOVE_TO_DOC();
This message forces the document control to move the active file to a new name and/or location (bringing up the appropriate file selector), exactly as if the user had requested it.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_COPY_TO_DOC();
This message forces the document control to copy the active file to a new name (bringing up the appropriate file selector), exactly as if the user had requested it.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_EXPORT_DOC();
This message forces the document control to export the active file (bringing up the appropriate file selector), exactly as if the user had requested it.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_SET_TYPE_DOC();
This message forces the document control to change the type (public, read-only, etc.) of the active file (bringing up the appropriate dialog box), exactly as if the user had requested it.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
void MSG_GEN_DOCUMENT_CONTROL_INITIATE_SET_PASSWORD_DOC();
This message forces the document control to set the password of the active file (bringing up the appropriate dialog box), exactly as if the user had requested it.
Source: Unrestricted.
Destination: The GenDocumentControl object.
Parameters: None.
Interception: This message is not normally intercepted.
GEOS SDK TechDocs
|
|
4.4 Special-Purpose Messages
|
4.6 Some Other Internal Messages