Combobox mit Editfeld, warum ist Eingabelänge begrenzt?
-
Hallo,
ich habe mir mit dem Resourcenedito von Visualstudio eine Combobox mit Editfeld erstellt. Jetzt habe ich festgestellt, das ich dort nur bis zum Dropdown-Menüpfeil schreiben kann, dann wird keine tastatureingabe mehr angenommen. Versuche ich nun einen String aus der Zwischenablage per STRG+V dort hineinzukopieren, wird der String auch wieder auf Höhe des Drop-Down Pfeiles abgeschnitten. Was muss ich tun damit die Eingabe nicht begrenzt wird?
-
Du musst den Text vom Programm (mit SetWindowText) manuell setzen.
-
CBS_AUTOHSCROLL - Automatically scrolls the text in the edit control to the right when the user types a character at the end of the line. If this style is not set, only text that fits within the rectangular boundary is allowed.
-
Danke, CBS_AUTOHSCROL funktioniert