 Andreas Koch | Hello together,
straight try I a little bit on Toolbars and I moreover a question. by me exit the following trouble on: if I the Static& in my Beispielquellcode a Toolbar hinzufüge, react The Buttons the Toolbar of course, but I have no Possibility tappt im dunkeln abzufragen, because %menuitem not described becomes. CompileMarkSeparationWindow 0,0-%MaxX,%maxy
var Static&=Control("STATIC","",$5400110E,0,0, (@Width(%hwnd)*0.58),(@Height(%hwnd)*0.5),%hwnd,0,%HINSTANCE)
var toolbar&=Create("Toolbar",Static&,0,0,2,600,2)
Toolbar("AddTextButton", Toolbar&, 1, 600,"+" ,"")
Toolbar("AddTextButton", Toolbar&, 1, 601,"-" ,"")
Toolbar("AddTextButton", Toolbar&, 2, 602,"+" ,"")
Toolbar("AddTextButton", Toolbar&, 2, 603,"-" ,"")
WhileNot %key=27
WaitInput
SetText %hwnd, Str$(%MenuItem)
ile
must the the Toolbar go wrong Window a designed Style having or must I The Buttons somehow differently inquire?
lovely Greeting and a frohes new year.
Andreas cook |
|