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.

Ausgabe in Textfeld aufm Dialog(ATLComposeContol) geht nicht:(

Empfohlene Antworten

Hi

ich hab beim "normalen" MFC-Projekt Ausgabe in Text(Label) in eine Weile geschafft. Nämlich habe ich ein Zeiger pAusg definiert: CStatic *pAusg=(CStatic*)ItemDlg(IDSTATIC) // wo IDSTATIC ID des Textfeldes ist

dann pAusg->GetWindowText(_T("Test print"))....das wars...Beim Aufrufen wird Test print-Text in Dialog erschienen

Nun hab ich ATL-Project mit MFC-Unterstüzung erstellen lassen und ATL-Object mit Compose-Control hinzugefügt. ich hab versuchen genauso den Text auszugeben, wurde mir das leider nicht gelungen :( Es wurde ein Abstürz geschehen. Und Debugging weist auf CWnd ??? (also was mit hwnd stimmt nicht)

Also ne Frage ,wie das realisieren kann

ich bedanke mich im Voraus

mfg

ulf

Solange der Name des Fensters ID_STATIC ist kann man gar nichts ändern. Nenne es z. B. in ID_Ausgabe um ... schon klappt´s!

:rolleyes:;) war das Scherz? mit Bezeichnungen? Wenn ja ist das schlimm

Ist kein Scherz - solange ID_STATIC drin steht ist alles gesperrt - frag Bill Gates wieso der sowas macht - ich hab´ auch keine Ahnung wieso?!?!?

IDC_STATIC1VOLLHALB

IDC_TITEL

IDC_STATIC1MIN

usw sind auf keinem Fall IDC_STATIC ;);):D

IDC_STATIC war nur nen Beispiel :D

und was muss ich wirklich machen ist für mich frage :rolleyes:

Irgendwie bin ich mir nicht sicher, wie Dein Programm aussehen soll. Ich würde es mir ja gerne mal anschauen. Vielleicht kannst Du´s mir ge-ace-t zuschicken: Crush@bigfoot.de

Ich schau´s mir gerne an und versuche dann das Problem zu lösen ok?

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.