How to change the attributes of a ComboBox in BC++ 5.0 ?
Posted on 1997-02-19
When i do something like that :
TMyComboBox * Combo=new TMyCombobox(0,ID_MyCombo, 0, 0, 180, 150, SMAX);
Combo->Attr.Style &= ~WS_TABSTOP;
//ControlBar is a TControlBar pointer...
It make an Fatal error reading to adress XXX...
I've tried on the TMyComboBox constructor an on the SetupWindow function, but it do again the same error or it doesn't change anything...
Is there any other method to change those attributes ?
I need just to take off the WS_TABSTOP style ...
PS - Excuse-me for my english, i'm french !