EPI_getRadioHandles


The EPI_getRadioHandles routine gets the unique ID of the last created item in the Eagle workspace.


void EPI_getLastItemHandle (        HMODULE     hEagle,    // Eagle handle     EPI_getRadioHandles
    int                 panel,      // the panel number     int                 button,     // the button number     int                 *num,       // the number of options       int                 *whandle    // returned array with the radio options handle );    

Parameters


hEagle

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


panel

the unique ID of the panel.


button

integer value containing the button handle.


*num

number of options in the radio box


*whandle

returned array with the radio options handle

Return Value

None.

See Also

EPI_getEagleHandle

Example


HMODULE    he;     int           panel, button, *num, *whandle ;     EPI_Item   handle;     he = EPI_getEagleHandle();     EPI_getListHandle ( he, panel, button, &num, &whandle );