Does the ID for a control have to be unique in the dialog, or in the program?
ie I would like to have similar 2 dialogs use the same group of control IDs, so I can use the same functions, and just pass and use the different dialog handle.
Alternative ideas are to use a single dialog and dynamically add / remove the controls that vary between them; or set up the ID equates so that I can refer to them by number and add pass a parameter to add an offset to the ID numbers depending which dialog the function was called from.
As always, many thanks in advance.
ie I would like to have similar 2 dialogs use the same group of control IDs, so I can use the same functions, and just pass and use the different dialog handle.
Alternative ideas are to use a single dialog and dynamically add / remove the controls that vary between them; or set up the ID equates so that I can refer to them by number and add pass a parameter to add an offset to the ID numbers depending which dialog the function was called from.
As always, many thanks in advance.
Comment