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.

Hintergrund, Schriftart, Schriftgröße eines Textfeldes ändern

Empfohlene Antworten

Servus,

Ich probier schon seit langem den Hintergrund, die Schriftart und Schriftgröße eines Textfeldes zu ändern. Klappt aber nicht so richtig.

Könnt Ihr mir bitte mal erklären wie das funzt!!!!

(MFC)

Vielen Dank!!!

Servus!

Hast du's schon mit einem RichEditControl versucht?

Dein Dialog muss ActiveX unterstützen, das musst du ganz am anfang einstellen, beim erstellen deines Projektes, nun fügst du

statt einem normalen EditCtrl ein RichEditCtrl ein,

das ist das Symbol auf dem

ab

draufsteht, nun musst du nur, bevor dein Dialog aufgerufen wird,

vor's dlg.DoModal();

diesen Aufruf setzen:

AfxInitRichEdit();

erstell im Klassenassistenten eine Membervariable vom Typ

CRichEditCtrl,

z.B.

CRichEditCtrl m_ctrlRich;

nun kanns du in der :OnInitDialog() deines Dialoges

mit dem Code

m_ctrlRich.SetBackgroundColor(FALSE, RGB(0,0,255));

den Hintergrund deines EditFelds Blau anstreichen,

wenn du mehr wissen willst, guckst du halt in der MSDN nach...

bye

JO;)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.