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.

CMenu

Empfohlene Antworten

Veröffentlicht

Ich versuche die Menü in einen SDI Anwendung ein bissen steuern, und zwar will ich das beim Start der Anwendung nur einige Menüpunkte angezeigt werden sollen. Ich schreibe eine Methode abc in die

PHP]

CMenu *MainMenu, *pSubMenu;

MainMenu = GetMenu();

pSubMenu=MainMenu->GetSubMenu(0);

pSubMenu->EnableMenuItem(ID_EDIT, MF_ENABLED/*MF_DISABLED*/);

SetMenu(MainMenu);

Sowas schreibe, dann rufe in OnNewDocument()

Und kriege zwei Fehler bei compeiliren

error C2660: 'GetMenu' : Funktion akzeptiert keine 0 Parameter

error C2660: 'SetMenu' : Funktion akzeptiert keine 1 Parameter

Ich bin aber nicht sicher ob ich es überhaupt gut mache, hat da jemand Erfahrung damit

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.