Click to See Complete Forum and Search --> : ComboBox to CSpinButtonCtrl


xALPHAx
July 8th, 2005, 10:09 AM
1 ) I have this line of code:
box->AddString(str); box->SetItemDataPtr(i, actualSymbol);
because at the beginning I used the Combobox, but now I need to use the Editbox with the spins (I mean CSpinButtonCtrl).

Someone knows how can I change that line to use it with the Editbox + Spins (I mean CSpinButtonCtrl)?

2) The same for this line:
key->addSymbol((CSymbol*)box->GetItemDataPtr(box->GetCurSel()));

Someone knows how can I change that line to use it with the Editbox + Spins (I mean CSpinButtonCtrl)?

I hope in some help, because I don't know how can I do!!
Thank you in advance!!