Share

acedAddDefaultContextMenu

C++

Adesk::Boolean acedAddDefaultContextMenu(
    AcEdUIContext * pContext, 
    const void * appId, 
    const ACHAR* appName = NULL
);

File

aced.h

Description

This function adds a default mode shortcut menu (AcEdUIContext instance).

The appName should be based on the name of the ObjectARX application. If an appName is not given, the filename of the application will be used.

Returns Adesk::kTrue if successful; otherwise, returns Adesk::kFalse.

Parameters

Parameters Description
pContext Pointer to AcEdUIContext callback class
appId Pointer passed in by AutoCAD in acrxEntryPoint when application receives kInitAppMsg
appName Optional name that will become submenu item in the default mode shortcut menu

Was this information helpful?