| |
|
|
- Page 1 - |
|
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 |
|
|
| |
|
|
|
« this Posting watts as Solution marked. » |
|
Andreas Miethe
| is already everything correctly. so. You must only The informations on your Mainwindow redirecting. For this there a Special Toolbar-Message. CompileMarkSeparation |
|
|
| XProfan X2Gruss Andreas ________ ________ ________ ________ _ Profan 3.3 - XProfanX2 Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher Homepage : [...] | 01/08/13 ▲ |
|
|
|
|
|
Andreas Koch | thanks for response. now funktionierts. |
|
|
| |
|
|