VCGetMenu
VCSetMenu


Version:

1.2

Description:

Custom pull down menus are saved as ASCII text files with a *.MNU extension. These menus can be loaded into Visual CADD™.

Declaration:

 

C/C++

extern "C" short WINAPI VCGetMenu(short* iError, char* sz);
extern "C" void WINAPI VCSetMenu(short* iError, char* sz);

Delphi

function VCGetMenu(var iError: Smallint; sz: PAnsiChar):Smallint; stdcall;
procedure VCSetMenu(var iError: Smallint; sz: PAnsiChar); stdcall;

ActiveX/COM

Function GetMenu() As String
Sub SetMenu(ByVal sz As String)

Parameters:

sz - the path and file name for the menu

Notes:

 

See Also:

VCGetPopupButton