thirumaran
asked on
Combobox Control(interface design)
Hi,
I am at present doing a project in VC. I want to have a control, like a chat box,where whatever u type in a small text box can be exhibited in the larger one.
I found out that combobox can be used for it,with its styles attribute set to simple.But i am not able to store whatever i type in the smaller text box and display in the larger one.
Any of u please help me in this regard.
Thanx,
Thiru
I am at present doing a project in VC. I want to have a control, like a chat box,where whatever u type in a small text box can be exhibited in the larger one.
I found out that combobox can be used for it,with its styles attribute set to simple.But i am not able to store whatever i type in the smaller text box and display in the larger one.
Any of u please help me in this regard.
Thanx,
Thiru
Hi thirumaran,
You can retrieve the edit control's text with CWnd::GetWindowText() and add to combo box with CComboBox::AddString().
ZOPPO
You can retrieve the edit control's text with CWnd::GetWindowText() and add to combo box with CComboBox::AddString().
ZOPPO
ASKER
Hi,
Using edit box is very simple. Just to know the usage of combo box, using this type of style(simple) and to make the UI attractive,i need to go for it.
please help me regarding this question.
Thanx
Thiru
Using edit box is very simple. Just to know the usage of combo box, using this type of style(simple) and to make the UI attractive,i need to go for it.
please help me regarding this question.
Thanx
Thiru
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
why dont u have an Edit box with Vertical scroll bars?
Abdij