The EPI_getListHandle routine gets the unique ID of the last created item in the Eagle workspace.
void EPI_getLastItemHandle ( HMODULE hEagle, // Eagle handle EPI_getListHandle *handle, // Pointer to the unique ID of the returned list int list, // The number of the list int *whandle1 // Returned list type int *whandle2 // returned list frame );
Parameters
hEagle
value of the Eagle handle, which can be obtained through the EPI_getEagleHandle function.
list
the unique ID of the list.
whandle1
integer value containing the listbox (type=0) or listview (type=1) of the returned handle.
whandle2
number handle of the list frame, which is the parent of the listbox or listview.
Return Value
None.
See Also
Example
HMODULE he; int list,whandle1,whandle2; EPI_Item handle; he = EPI_getEagleHandle(); EPI_getListHandle ( he, list, &whandle1, &whandle2 );