LAnnAutomation::IsHyperlinkMenuEnabled
#include "ltwrappr.h"
virtual L_BOOL LAnnAutomation::IsHyperlinkMenuEnabled()
Gets a value that indicates whether the hyperlink menu item will be shown when you click the right mouse button in design mode.
Returns
TRUE |
The hyperlink menu item will be shown in design mode when you right click on one or more objects. |
FALSE |
The hyperlink menu item will not be shown. |
Required DLLs and Libraries
LTANN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
LAnnAutomation::IsHyperlinkMenuEnabled, LAnnotation::SetHyperlink, LAnnotation::GetHyperlinkLen, LAnnotation::GetHyperlink, LAnnAutomation::SetAutoText, Class Members |
Topics: |
Example
This example determines whether the automation hyperlink menu item is
enabled. If the menu item is enabled, then the example disables it. It the
menu item is disabled, the example enables it.
L_INT LAnnAutomation_IsHyperlinkMenuEnabledExample(LAnnAutomation * pAnnAutomation) { L_INT nRet; L_BOOL bEnabled; /* toggle display of HyperLink menu item */ bEnabled = !pAnnAutomation->IsHyperlinkMenuEnabled(); nRet = pAnnAutomation->SetHyperlinkMenuEnabled(bEnabled, 0); if(nRet != SUCCESS) return nRet; return SUCCESS; }