The EPI_createDllControl routine creates a dll control.
BOOL EPI_createDllControl(
HMODULE hEagle, int type, int uid, int panelId, int buttondId, char* cText, char* sText, int style, int x, int y, int w, int h, #unsigned int **buttonHwnd );
Parameters
hEagle
value of the Eagle handle, which can be obtained through the EPI_getEagleHandle function.
uid
value unique identifier.
panelID
the panel ID on which the control is to be created.
buttonID
value button id which is to be created.
ctext
the control text
x y h w
the control positioning and size
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