EPI_getMenuBarHandle


The EPI_MenuBarHandle routine returns the handle of the CMENU of the Menubar.


void EPI_getMenuBarHandle (        HMODULE     hEagle,    // Eagle handle     int                    *whandle,  // Returned CMENU control  
);    

Parameters


hEagle

value of the Eagle handle, which can be obtained through the EPI_getEagleHandle function.


whandle1

the unique ID CMENU control of menu bar.

Return Value

If successful, the EPI returns the handle of the CMENU control of the Menu Bar control.

See Also

EPI_getEagleHandle

Example


HMODULE    he;     int           *whandle;     he = EPI_getEagleHandle();     EPI_getMenuBarHandle ( he, &handle1 );