03-25-2013 03:33 AM
hello ,
There are many numeric controls in a panel,, when compiled it products an include file like this:
#define DROP 2
#define DROP_RESIDUAL 2 /* control type: graph, callback function: (none) */
#define DROP_DROPVALUE 3 /* control type: graph, callback function: (none) */
#define DROP_CLOSEDROP 4 /* control type: command, callback function: CloseRes */
#define DROP_REJNUM 5 /* control type: numeric, callback function: (none) */
#define DROP_DPVAL 6 /* control type: numeric, callback function: (none) */
#define DROP_MEANVAL 7 /* control type: numeric, callback function: (none) */
#define DROP_ACEPNUM 8 /* control type: numeric, callback function: (none) */
#define DROP_DROPNUM 9 /* control type: numeric, callback function: (none) */
#define DROP_SETNUM 10 /* control type: numeric, callback function: (none) */
Solved! Go to Solution.
03-25-2013 03:45 AM
Nothing is wrong. The constants are not unique and don't need to be. Only the combination of panel_handle and control_id needs to be unique and indeed is unique.