You can get common controls custom resource data ( see controlData section: http://msdn.microsoft.com/en-us/library/aa380902(v=VS.85).aspx ) by handling WM_CREATE and accesing lpCreateParams member of CREATESTRUCT. Is there any way to access the data after a control was created?
You can get common controls custom resource data ( see controlData section: http://msdn.microsoft.com/en-us/library/aa380902(v=VS.85).aspx )
Share
Looks like I found the answer. We can use FindResource->LoadResource->LockResource functions to get pointer to the dialog resource data. The pointer returned by LockResource will point to DLGTEMPLATEEX structure. This will allow to iterate through dialog controls to find the needed dialog item ( DLGITEMTEMPLATEEX ) and extract custom resource data from it