IfmManage::LoadMenuResource

This method loads a menu from a resource file.

Syntax

HRESULT LoadMenuResource(OLE_HANDLE hFC, long wRsrcID, IDispatch **ppMenu);

Parameters

hFC
OLE_HANDLE to the Forms Manager context.
wRsrcID
Long integer that contains the identifier of the resource file.
ppMenu
Pointer to the pointer to a menu.

Return Values

NOERROR indicates success. E_INVALIDARG indicates that an invalid argument was entered. E_ACCESSDENIED indicates that access to the resource file was denied. If an error occurs, the appropriate HRESULT value is returned.

Remarks

For information about how to layout a resource, see Constraint-Based Layout and FA_* Values.‹For information about how to layout a resource, see Appendix F, "Constraint-Based Layout and FA_* Values."›