I am using VC++ 6.0. In the resource editor, for every control (edit / list box / custom controls) I need to capture one more attribute apart from the regular ID, styles, etc. to be entered by developers.

This can be achieved by setting the attribute through the code on each dialog's InitDialog( ) function through each control's hWnd. But is there a way to customize the the properties pop up ( on right cliking each control) and provide an input text box (or of the kind) in it where this attribute can be entered ?

Thanks,
Sivsu.

03-15-2005, 06:15 PM

jonnin

You would have to make the orig dialog items a base class for your new 'custom control' (I think thats what they are called) which would have the input (similar to a combobox or listbox data section??) -- a lot of trouble if you are in the middle, probably simple if you are just starting.