Share

acedSetCMBaseAlias

C++

bool acedSetCMBaseAlias(
    const wchar_t* strAlias, 
    AcadContextMenuMode mode
);

File

aced.h

Description

This function sets the base context menu alias for either Default, Edit, Hotgrip, or Command mode.

strAlias may be a menugroup.menuname or simply a menuname. The menugroup and menuname strings may each be up to 32 characters long and may not contain spaces. Strings longer than this limit are truncated. If spaces are found, they are removed. If strAlias is not a full base alias (e.g. "MyGroup.MyMenuAlias"), then the current base menugroup is used.

mode may be one of the following values: kDefault, kEdit, kCommand, kHotGrip.

Returns true if successful.

Parameters

Parameters Description
strAlias Input desired base menu alias
mode Input mode to specify which context menu base alias is desired

Previous Declaration

bool acedSetCMBaseAlias(

LPCTSTR strAlias,

AcadContextMenuMode mode

);

Was this information helpful?