Cell work like a ComboBox in Grid
Srinivasa Rao -- sgadipar@IGI.INDIA.INGR.com
Thursday, February 06, 1997
Environment: NT 4.0, VC++ 4.2b
I have a specific requirement in using a control like a Grid provided
with MSVC++ where in when I click in a particular cell there should
appear a ComboBox in the selected cell so that I can select from the
combo box and assign the item selected from the combobox to the cell
where in I cliclked. Is this possible ? Is there any round about
solution ?.
TIA for your suggestions,
GS
Email : sgadipar@igi.india.ingr.com
sgadipar@hotmail.com
Voice: (Off)+91 40 815378 xt: 2608
(Res) +91 40 3717842
Steve Spencer -- spencer@cix.compulink.co.uk
Friday, February 07, 1997
[Mini-digest: 3 responses]
In-Reply-To:
You could try;
1. Creating a combobox, making it invisible
2. On detecting the click
(a) Fill the combo box
(b) move / size the combo box over the cell.
I know the MS one can provide the location info
if you work at it!
(c) Make combo visible, and give it focus
3. When combo box loses focus, make it invisible,
and transfer selection to grid element.
> I have a specific requirement in using a control like a Grid provided
> with MSVC++ where in when I click in a particular cell there should
> appear a ComboBox in the selected cell so that I can select from the
> combo box and assign the item selected from the combobox to the cell
> where in I cliclked. Is this possible ? Is there any round about
> solution ?.
>
> GS
> Email : sgadipar@igi.india.ingr.com
> sgadipar@hotmail.com
> Voice: (Off)+91 40 815378 xt: 2608
> (Res) +91 40 3717842
Steve Spencer
spencer@cix.co.uk
-----From: "Brian V. Zaino (516) 434-6278"
> Environment: NT 4.0, VC++ 4.2b
>
>I have a specific requirement in using a control like a Grid provided
>with MSVC++ where in when I click in a particular cell there should
>appear a ComboBox in the selected cell so that I can select from the
>combo box and assign the item selected from the combobox to the cell
>where in I cliclked. Is this possible ? Is there any round about
>solution ?.
>
>TIA for your suggestions,
>
>GS
>Email : sgadipar@igi.india.ingr.com
> sgadipar@hotmail.com
>Voice: (Off)+91 40 815378 xt: 2608
> (Res) +91 40 3717842
GS,
Objective Grid from Stingray Software, Inc. allows placing combo boxes
into cells within a grid. Their web site is:
http://www.stingsoft.com
BZ
-----From: ytang@rescom.com (Yumin Tang)
You may want to give Stingray's 'Objective Grid' a try.
Yumin Tang
Rescom Ventures Inc.
> Environment: NT 4.0, VC++ 4.2b
>
>I have a specific requirement in using a control like a Grid provided
>with MSVC++ where in when I click in a particular cell there should
>appear a ComboBox in the selected cell so that I can select from the
>combo box and assign the item selected from the combobox to the cell
>where in I cliclked. Is this possible ? Is there any round about
>solution ?.
>
>TIA for your suggestions,
>
>GS
>Email : sgadipar@igi.india.ingr.com
> sgadipar@hotmail.com
>Voice: (Off)+91 40 815378 xt: 2608
> (Res) +91 40 3717842
>
>
Become an MFC-L member
| Вернуться в корень Архива
|