kann man Edit Boxen ohne Rande erstellen??? hab kein passendes Style gefunden
Fenster ohne Rand
-
- [ gelöst ]
-
prestige -
4. August 2008 um 14:50 -
Geschlossen -
Erledigt
-
-
- Offizieller Beitrag
Was genau meinst Du mit "Edit Boxen"? InputBox? GUICtrlCreateEdit()? Oder...?
-
input boxen
-
- Offizieller Beitrag
Bei dem Befehl InputBox gibt es so etwas nicht.
Du müsstest Dir also selbst eine solche erstellen (GUICreate, GUICtrlCreateInput, GUICtrlCreateButton). -
Hi,
ich weis zwar net ob ich das tichtig verstanden habe was du suchst aber ich gebe mir ja mühe.
Hier mal 2 BeispieleBeispiel1: Edit-Box-readonly ohne Rand
Spoiler anzeigen
[autoit]
[/autoit] [autoit][/autoit] [autoit]
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>#Region ### START Koda GUI section ### Form=
[/autoit] [autoit][/autoit] [autoit]
$Edit_Box_readonly_ohne_Rand = GUICreate("Edit_Box_readonly_ohne_Rand", 337, 166, 193, 115)
$Edit1 = GUICtrlCreateEdit("Ich bin eine EditBox readonly und ohne Rand", 56, 32, 217, 89, BitOR($ES_AUTOVSCROLL,$ES_AUTOHSCROLL,$ES_READONLY), 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###While 1
[/autoit] [autoit][/autoit] [autoit]
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
ExitEndSwitch
[/autoit]
WEndBeispiel2: Edit-Box ohne Rand
Spoiler anzeigen
[autoit]
[/autoit] [autoit][/autoit] [autoit]
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>#Region ### START Koda GUI section ### Form=
[/autoit] [autoit][/autoit] [autoit]
$Edit_Box_readonly_ohne_Rand = GUICreate("Edit_Box_readonly_ohne_Rand", 337, 166, 193, 115)
$Edit1 = GUICtrlCreateEdit("Ich bin eine EditBox readonly und ohne Rand", 56, 32, 217, 89, BitOR($ES_AUTOVSCROLL,$ES_AUTOHSCROLL), 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###While 1
[/autoit] [autoit][/autoit] [autoit]
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
ExitEndSwitch
[/autoit]
WEndDen Rand machten die "ExStyles" der Wert "WS_EX_Clientedge" muss auf "0" stehen. Das ist der Wert der nach BitOrd hinter den Klammern durch ein Komma getrennt ist.
Weis aber net ob du das gesucht hast.
MfG
Der_Doc -
danke, dass meinte ich