Herzlich Willkommen, lieber Gast!
  Sie befinden sich hier:

  Forum » VC++ / MFC » combobox

Forum | Hilfe | Team | Links | Impressum | > Suche < | Mitglieder | Registrieren | Einloggen
  Quicklinks: MSDN-Online || STL || clib Reference Grundlagen || Literatur || E-Books || Zubehör || > F.A.Q. < || Downloads   

Autor Thread - Seiten: > 1 <
000
02.08.2005, 11:28 Uhr
~wachan
Gast


Hallo
Hi
vielen dank für alle, und noch dazu,
in delphi schreibe ich

Code:

case combobox.ItemIndex of
0 : begin
    x := a + b;
    end;
1 : Tbtest.Filter := 'KName =' + ......  



wie kann ich in C++ schreiben.
 
Profil || Private Message || Suche Download || Zitatantwort || Editieren || Löschen || IP
001
02.08.2005, 11:37 Uhr
Tommix



Hallo,

C++:
int selection = combobox.GetCurSel();

switch(selection)
{
  case 0:
    x = a+b;
    break;

  case 1:
    // usw. usf.



Gruß, Tommix

--
4
 
Profil || Private Message || Suche Download || Zitatantwort || Editieren || Löschen || IP
Seiten: > 1 <     [ VC++ / MFC ]  


ThWBoard 2.73 FloSoft-Edition
© by Paul Baecher & Felix Gonschorek (www.thwboard.de)

Anpassungen des Forums
© by Flo-Soft (www.flo-soft.de)

Sie sind Besucher: