ASCII-Zeichen in einem GUI

11/18/2011 18:55 Sura1506#1
Hallo community,

zur Zeit Arbeite ich an einem kleinen Projekt, nur komm ich nicht so schnell vorran wie ich eigentlich will. Egal, kommen wir zu meinem Problem:
In meinem GUI habe ich einen Button. Als Buttonname möchte ich ein ASCII-Zeichen nehmen, nur weis ich nicht, wie ich das anzeigen soll.
Bisher habe ich es so Probiert:
Code:
$Button1 = GUICtrlCreateButton("{ASC 5544}", 0, 144, 27, 25)
bzw. so:
Code:
$pl = "{ASC 5544}"
$Button1 = GUICtrlCreateButton($pl, 0, 144, 27, 25)
Nur keine Methode hat bisher funktioniert.

Ich hoffe ihr könnt mir helfen.

Lg
11/18/2011 19:25 omer36#2
[Only registered and activated users can see links. Click Here To Register...]
11/18/2011 21:25 KDeluxe#3
Dann doch eher Chr(W).

PHP Code:
GUICreate(""10050)
GUICtrlCreateButton(ChrW(0xBF), 0010050)
GUICtrlSetFont(-120800)
GUISetState()

Do
    
Sleep(10)
Until GUIGetMsg() == -
11/18/2011 22:25 bollen#4
oder einfach direkt einfügen klappt auch
Code:
[FONT=Courier New][COLOR=#0000bb]GUICtrlCreateButton[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000bb]"¿",[/COLOR][COLOR=#0000bb]0[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000bb]0[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000bb]100[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000bb]50[/COLOR][COLOR=#007700])[/COLOR][/FONT]
[FONT=Courier New][COLOR=#007700][/COLOR][/FONT]