LAnnAutomation::IsHyperlinkMenuEnabled

#include "ltwrappr.h"

virtual L_BOOL LAnnAutomation::IsHyperlinkMenuEnabled(L_VOID)

Gets a value that indicates whether the hyperlink menu item will be shown when you click the right mouse button in design mode. This function is available in the Document/Medical Toolkits.

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:

Annotation Functions (Document/Medical only): Hyperlinks

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.
*/
void ToggleMenu(LAnnAutomation L_FAR * pAnnAutomation)
{
   L_BOOL bEnabled;

   /* toggle display of HyperLink menu item */
   bEnabled = !pAnnAutomation->IsHyperlinkMenuEnabled();

   pAnnAutomation->SetHyperlinkMenuEnabled(bEnabled, 0);
}