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 Rich Edit Box Problem

Empfohlene Antworten

Veröffentlicht

Hallo zusammen

Ich wollte in meinem Projekt eine Rich Edit Box hinzufügen.

sobald ich jedoch eine hinzugefügt habe und mein progamm starte wird es gleich wieder beendet.

Der Compiler gibt auch keinen Error / Warnung.

Dieses problem trit jedoch nur bei den Rich Edit auf, füge ich eine Normale Edit Box ein läuft alles ganz normal.

Ich habe zum testen mal ein Neues Projekt erstellt eine Rich Edit Box eingefügt und dann Compiliert.

Keine Errors aber wenn ich Starte wieder das selbe, das programm wird sofort wieder beendet.

Durch Breakpoints habe ich noch Herausgefunden das wie Normal zuerst der Konstruktor aufgerufen wird, aber danach wird gleich der deKonstruktor aufgerufen

Freundliche grüsse

Neo

  • Autor

es ist noch ein weiteres problem aufgetaucht.

compilieren funktioniert ohne fehler und das programm wird auch tip top ausgeführt. sobald ich jedoch den class wizard öffne kommt folende nachricht.

Parsing error: Expected "=".

Input Line: "AfxInitRichEdit();"

Code:


CMyProjectDlg::CMyProjectDlg(CWnd* pParent /*NULL*/)

     : CDialog(CMyProjectDlg::IDD, pParent)

{

     //{{AFX_DATA_INIT(CMyProjectDlg)

     AfxInitRichEdit();

    //}}AFX_DATA_INIT

    m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);

}

Der Class Wizard wird nacher geöffnet es zeigt jedoch keine Funktionen und MemberVariabeln die ich definiert habe. ich kann auch keine weiteren hinzufügen

Freundliche grüsse

Neo

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.