EditMessageEnum
Aus API-Wiki
Version vom 5. November 2016, 23:47 Uhr von Jochen Wierum (Diskussion | Beiträge)
Die Mitglieder der Enumeration EditMessageEnum sind Nachrichten, die an Textfelder gesandt werden, um das Verhalten zu steuern und Daten zu setzen oder zu ermitteln.
Deklaration
Private Const EM_BASE As Long = &HB0&
Private Enum EditMessageEnum
EM_GETSEL = EM_BASE + &H0&
EM_SETSEL = EM_BASE + &H1&
EM_GETRECT = EM_BASE + &H2&
EM_SETRECT = EM_BASE + &H3&
EM_SETRECTNP = EM_BASE + &H4&
EM_SCROLL = EM_BASE + &H5&
EM_LINESCROLL = EM_BASE + &H6&
EM_SCROLLCARET = EM_BASE + &H7&
EM_GETMODIFY = EM_BASE + &H8&
EM_SETMODIFY = EM_BASE + &H9&
EM_GETLINECOUNT = EM_BASE + &HA&
EM_LINEINDEX = EM_BASE + &HB&
EM_SETHANDLE = EM_BASE + &HC&
EM_GETHANDLE = EM_BASE + &HD&
EM_GETTHUMB = EM_BASE + &HE&
EM_LINELENGTH = EM_BASE + &H11&
EM_REPLACESEL = EM_BASE + &H12&
EM_GETLINE = EM_BASE + &H14&
EM_LIMITTEXT = EM_BASE + &H15&
EM_SETLIMITTEXT = EM_LIMITTEXT
EM_CANUNDO = EM_BASE + &H16&
EM_UNDO = EM_BASE + &H17&
EM_FMTLINES = EM_BASE + &H18&
EM_LINEFROMCHAR = EM_BASE + &H19&
EM_SETTABSTOPS = EM_BASE + &H1B&
EM_SETPASSWORDCHAR = EM_BASE + &H1C&
EM_EMPTYUNDOBUFFER = EM_BASE + &H1D&
EM_GETFIRSTVISIBLELINE = EM_BASE + &H1E&
EM_SETREADONLY = EM_BASE + &H1F&
EM_SETWORDBREAKPROC = EM_BASE + &H20&
EM_GETWORDBREAKPROC = EM_BASE + &H21&
EM_GETPASSWORDCHAR = EM_BASE + &H22&
EM_SETMARGINS = EM_BASE + &H23&
EM_GETMARGINS = EM_BASE + &H24&
EM_GETLIMITTEXT = EM_BASE + &H25&
EM_POSFROMCHAR = EM_BASE + &H26&
EM_CHRFROMPOS = EM_BASE + &H27&
EM_SETIMESTATUS = EM_BASE + &H28&
EM_GETIMESTATUS = EM_BASE + &H29&
End Enum
Die Nachrichten können mit SendMessage oder PostMessage versandt werden.
Beschreibung
Beispiele
- FAQ 0060: Wie arbeite ich mit einer Inputbox?
- Tipp 0117: Einfaches Undo für Textbox
- Tipp 0221: WYSIWYG mit einer RichtTextBox
- Tipp 0353: Sichtbaren Teil der TextBox als String auslesen
- Tipp 0561: Fehler in der Richtextbox beheben
- Tipp 0617: Einen Text als Blocksatz ausgeben