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.

Empfohlene Antworten

Veröffentlicht

Und noch eine scheinbar simple Frage:

Über SetDlgItemText() setze ich nen String in ein Edit-Feld.

Klappt ja bisher ganz gut...

Aber wenn man jetzt ein Zeilenumbruch mit in das Edit-Feld reinschreiben möchte (etwa so: "Ein Test!\nHallo") dann kommt anstatt dem '\n' so ein bloedes schwarzes Viereck.

Wie krieg ich jetzt das return mit in mein Edit-Feld.

Die Option "Return möglich" habe ich schon angehagt in den Eigenschaften.

Sowas wie InsertString, oder AddString gibts ja nicht oder?

Naja, ich hoffe jemand weiss was drüber

cu

PS: Compiler: VC++ 6.0 (MFC).

Mit "\r\n" funktionierts tatsächlich!

Wofür steht das \r denn?

Habe ich noch nie gehört.

Wieso macht Microdoof so etwas überhaubt?

'\t' kann ich verwenden, aber bei '\n' muss ich noch '\r' vorhängen.

Typisch...

Original geschrieben von sandman

Mit "\r\n" funktionierts tatsächlich!

Wofür steht das \r denn?

Habe ich noch nie gehört.

Wieso macht Microdoof so etwas überhaubt?

'\t' kann ich verwenden, aber bei '\n' muss ich noch '\r' vorhängen.

Typisch...

hej.... erst fragen dann denken und wenns dann noch noetig ist schimpfen......:D

das hat absolut nix mit Microsoft zu tun.....

\n schiebt eigentlich nur den Cursor eine Zeile weiter nach unten

\r braucht man dann um den Cursor wieder an den Anfang der Zeile laufen zu lassen........

also \n Zeilenvorschub - \r Wagenruecklauf

Ja, danke erstma

hej.... erst fragen dann denken und wenns dann noch noetig ist schimpfen......

Na guuut... mach ich beim nächsten Angriff auf Microsoft so...

Ich finde es aber trotzdem komisch, dass anstatt des Vorschubs dann ein Viereck kommt, wenn ich nicht den Cursor zurück setze...

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.