Ich frag mich, warum hier kein Dialog erstellt wird?
Code
Declare dialog1%, button1%
Proc CreateElements
Cls
button1% = Create("Button", %hwnd, "button", 140, 60, 80, 20)
dialog1% = Create("Dialog", %hwnd, "dialogfenster", 140, 60, 160, 120)
EndProc
Proc MainLoop
While 1
WaitInput
Case %key = 2 : BREAK
EndWhile
EndProc
Proc Main
CreateElements
MainLoop
EndProc
Main
End
Alles anzeigen