| |
|
|
ByteAttack | i'm time through chance what noticed. If I a Button on of/ one GroupBox platziere, so can I this only through GetFocus inquire, though not through Clicked. On another Fesnter or dialog functions Clicked indeed, Why not of/ one GroupBox CompileMarkSeparationDeclare Ende%,Knopf1&,Knopf2&,Knopf3&,Gruppe&,Dialog&
WindowStyle 26
WindowTitle Bug?
Window ((%maxX/2)-320),((%maxY/2)-240)-640,480
CLS 0
Normaler Button auf dem Hauptfenster (%hwnd)
Knopf1&=Create(Button,%hwnd,Knopf 1,10,100,100,24)
Normaler Button auf der GroupBox (Gruppe&)
Gruppe&=Create(GroupBox,%hwnd, GroupBox ,10,150,200,75)
Knopf2&=Create(Button,Gruppe&,Knopf 2,10,30,100,24)
Normaler Button auf dem Dialog (Dialog&)
Dialog&=Control(DIALOG,,$54000000,10,300,200,75,%hwnd,2001,%hinstance)
Knopf3&=Create(Button,Dialog&,Knopf 3,10,30,100,24)
WhileNot Ende%
WAITINPUT
locate 0,0
If @Clicked(Knopf1&)
Print Knopf 1 gedrückt
ElseIf @Clicked(Knopf2&)
Print Knopf 2 gedrückt
ElseIf @Clicked(Knopf3&)
Print Knopf 3 gedrückt
ElseIf GetFocus(Knopf2&) Funktioniert
Print Knopf 2 Focus
EndIf
EndWhile
End
Waitinput
|
|
|
| |
|
|
|
Jac de Lad | this is already one älteres trouble. You must as übergeordnetes Window the Mainwindow indicate. |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 11/13/07 ▲ |
|
|
|
|
René Wagner | we'd these story in the official Profan-Forum Schonmal durchgekaut. Result was, that Roland there not plenty can make, there the trouble well from the windows-Messagehandling (or something like into direction) comes. |
|
|
| Mit XProfan erstellte Freeware findet ihr hier: [...] US World Domination Tour - bombing a country near you... | 11/26/07 ▲ |
|
|
|