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.

Neue Form Öffnen

Empfohlene Antworten

Veröffentlicht

Möchte über einen Button eine neue form Öffnen und die andere ausblenden!

Und das ganze in VS 2009 mit C++ .

Habe schon im Inet gesucht konnte aber nicht wirklich was funktionierendes finden.

Ungefähr so (Programmiere C#, bin nicht sicher, ob das so in C++.NET geht):


NewForm frm = gcnew NewForm();

frm::Show();

this::Close();

Das ist aber jetzt wirklich einfach.

Grüße, JasonDelife.

  • Autor
Ungefähr so (Programmiere C#, bin nicht sicher, ob das so in C++.NET geht):


NewForm frm = gcnew NewForm();

frm::Show();

this::Close();

Das ist aber jetzt wirklich einfach.

Grüße, JasonDelife.

Welches ist der eigentliche code und welches ist der Teil den ich ersetzten muss durch die Namen meiner Form(en)

Welches ist der eigentliche code und welches ist der Teil den ich ersetzten muss durch die Namen meiner Form(en)

Wenn du die Grundlagen gelernt hast, solltest du das selbst herausfinden können.

Grüße, JasonDelife.

Ungefähr so (Programmiere C#, bin nicht sicher, ob das so in C++.NET geht):


NewForm frm = gcnew NewForm();

frm::Show();

this::Close();

Das ist aber jetzt wirklich einfach. Grüße, JasonDelife.
gcnew liefert Pointer zurück:

NewForm^ frm = gcnew NewForm();

frm->Show();

this->Close();

@basti2010: Grundlagen solltest du aber können, bevor du GUI programmierst.

Zumindest solltest du verstehen was dieser Code überhaupt macht, weil das ist wirklich einfach...

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.