CExtHyperLinkButton::OnHyperLinkOpen

Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Opens the object referenced by the hyperlink.

virtualvoid OnHyperLinkOpen(
   LPCTSTR strURL,
   e_OpenMode_t eOM = __EOM_OPEN,
   bool bAllowErrorAlert = true
);

Parameters

strURL
Specifies the target URL.
eOM
Open mode.
bAllowErrorAlert
Specifies that the method displays a message box with the error description when an error occurred if this argument is set to true.

Remarks

The eOM argument can take one of the following values:

Value Meaning
__EOM_OPEN Open the referenced object for viewing
__EOM_EDIT Open the referenced object for editing
__EOM_PRINT Print the referenced object

See Also

CExtHyperLinkButton Overview | Class Members | Hierarchy Chart