Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MFC Combo Box

Empfohlene Antworten

Hallo,

Ich habe eine sehr einfache Frage. Ich möchte eine Combo Box mit den Nummern von 1 bis 10 ausfüllen. Wie kann ich das erstellen?

Für jede Hilfe wäre ich sehr dankbar, :)

Iliya

AddString aufrufen und das ganze in einer iteration von 1 bis 10.

CComboBox::AddString (MFC)

s'Amstel

Hi,

Leider geht es nicht bei mir.

Es gibt zwei Fehler wenn ich den Projekt erstelle:

extern CComboBox* asdComboModules;

CString str;

for (int i=0;i < 10;i++)

{

str.Format(_T("item string %d"), i);

asdComboModules->AddString( str );

}

error LNK2001: unresolved external symbol "class CComboBox * asdComboModules" (?asdComboModules@@3PAVCComboBox@@A)

fatal error LNK1120: 1 unresolved externals

Die Name meiner ComboBox is IDC_COMBO9.

Wie kann ich vorgeben dass der Code mit genau IDC_COMBO9(nicht mit IDC_COMBO8) zu tun hat.

Danke.

Iliya

Die Name meiner ComboBox is IDC_COMBO9.

Wie kann ich vorgeben dass der Code mit genau IDC_COMBO9(nicht mit IDC_COMBO8) zu tun hat.

Du musst deiner ComboBox eine Control-Variable zuweisen.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.