Hey...
Hab nen kleines Problem unzwar möchte ich gerne mit Function _GDIPlus_GraphicsDrawString den Text Vertikal geschrieben und von rechts aus lesbar haben.
Mit dem $Format = 0x0002 ist er zwar Vertikal aber von links aus lesbar...
jemand ne Idee ?
#include <GuiConstantsEx.au3>
#include <GDIPlus.au3>
Opt('MustDeclareVars', 1)
[/autoit][autoit][/autoit][autoit]_Main()
[/autoit][autoit][/autoit][autoit]Func _Main()
Local $hGUI, $hWnd, $hGraphic
; Create GUI
$hGUI = GUICreate("GDI+", 400, 300)
$hWnd = WinGetHandle("GDI+")
GUISetState()
; Draw a string
_GDIPlus_Startup ()
$hGraphic = _GDIPlus_GraphicsCreateFromHWND ($hWnd)
_GDIPlus_GraphicsDrawString ($hGraphic, "Hello world", 140, 110, "Arial", 7, 0x0002)
; Loop until user exits
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
; Clean up resources
_GDIPlus_GraphicsDispose ($hGraphic)
_GDIPlus_Shutdown ()
EndFunc ;==>_Main
[/autoit]MFG chris