Ole4D Methods

OCMenuEmbeded(p_AreaVar)


If the Ole object is allowed to embed the menu (using OCEnableMenu) and the object is activated, then the 4D menu is replaced with the menu of the Ole object.
OCMenuEmbeded tests if after activation the 4d main menu was successfully replaced by the Ole object's menu.


Parameters

Parameter Type   Description
p_AreaVar Longint -> Variable of the plug-in area.

Return Values
0–Menu was not replaced
1–Menu was replaced.
The operating system code of invalid parameter error - if the area sent as parameter does not exist.