English
Forum

Clicked not in GroupBox

 

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
CompileMarkSeparation
Declare 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
 
Website:  [...] 
Facebook:  [...] 
11/13/07  
 




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  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.138 Views

Untitledvor 0 min.
Axel Berse11/03/23
Sven Bader08/17/21
Thomas Zielinski04/07/21
Michael Borowiak04/01/12

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie