murrayc
asked on
Subclassing dynamically created control (No ID)
When creating variable numbers of controls at run-time, I generally give them an ID of NULL. However, if I wish to sub-class these controls, then they need to have an ID. Is there any way to generate a unique ID at runtime?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Anything you're not using.
Lookup at the values in resource.h
I suggest you pick a very high value, then it's easy to ensure the resource.h always uses values less than that
Lookup at the values in resource.h
I suggest you pick a very high value, then it's easy to ensure the resource.h always uses values less than that
ASKER