The EPI_destroyDllControl routine destroys a dll control from a panel.
BOOL EPI_createDllControl( HMODULE hEagle, int panelId, // panel id int buttondId, // button id int buttonHwnd // control window );
Parameters
hEagle
value of the Eagle handle, which can be obtained through the EPI_getEagleHandle function.
panelD
the panel ID on which the control is to be destroyed.
button
value button id which refers to the control to be destroyed.
buttonHwnd
the Microsoft Windows control window handle
Return Value
If the function succeeded then the return value is TRUE, otherwise it is FALSE.
See Also