December 16th, 2012, 04:07 AM
CStatic control ID
I'm using CStatic inherited class in my code and creating static text boxes dynamically. Now for assigning unique control ID I'm creating a static control from resource editor and destroying it before calling CStatic::Create() and using its control ID say ID_STATIC_SAMPLE.
If I do not use this parameter of Create(), the static control is also being created, so what is the use of this unique ID. And any other better way to assign a ID for dynamically created static controls.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.