Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

multiple selection Combobox

52 views
Skip to first unread message

pegase

unread,
Sep 2, 1999, 3:00:00 AM9/2/99
to
hello,

sombody can help me ?
i would like to know if it is possible to do multiple selection in combobox
?
if it possible where i can find this solution ?

thinks

--
------------------------------------------------------------------
** Pegase **
Please remove toto to get my e-mail :
mailto: dao2...@col.bsf.alcatel.fr
----------------------------------------------------------------

Bert Bruggeman

unread,
Sep 2, 1999, 3:00:00 AM9/2/99
to
A combobox has only 1 visible selection, use CListBox instead ;-)
pegase <dao2...@col.bsf.alcatel.fr> wrote in message
news:7qloec$a9...@aww.sxb.bsf.alcatel.fr...

Joseph M. Newcomer

unread,
Sep 2, 1999, 3:00:00 AM9/2/99
to
Strictly speaking, the answer that said a Combo Box has only one
selection is the fundamentally correct answer. However, you could do
an owner-draw combo box and redefine what you mean, and implement
options such as SetSel, GetSelCount, and GetSelItems. The problems
come with the semantics of a combo box: exactly what does it mean to
have a multiple selection when the combo box closes up? Sort of
meaningless. Because the combo box is owner-draw, you can color the
combo box items any way you want, including as-selected. Note that
this can interfere with your ability to type things into the edit
control; owner-draw combo boxes work best for DropList only.

"If all things were possible, would you want them to be?"
joe

0 new messages