English
Forum

Child Window is Active window go

 
- Page 1 -



Gerhard
Praher
Hello wiedermal from Österreich !

says time Please How becomes a Childwindows (@Create("Childwindow",...) the active Window ?
the Parentwindow watts with @Create("Window",...") prepares.

here the code:
 $H windows.ph
Declare wide%, Hoehe%, Top%, Left%
Declare hMainWin&, hChildWin&
Breite% = 1024
Hoehe% = 768
Top% = 0
Left% = 0
Window Style 27
hMainWin& = @Create("Window",0,"Irgend so a text",Top%,Left%,wide%,Hoehe%)
hChildWin& = @Create("ChildWindow",hMainWIn&, "Child", 80, 60, wide% / 2, Hoehe% / 2)
@SetFocus(hChildWin&)
Waitkey
End

I habs already with @SetActiveWindows(hChildWin&) attempts, but always is the Parentwindow active.

Vielen Thanks for eure Help
Gerhard
 
Windows XP Pro, SP3
Jetzt: XProfan 11
Was ich liebe sind 3 "F": meine Familie, meine Firma, meine Freizeit.
08/18/08  
 



 
- Page 2 -


"Bereits seen von" isn't Beitrags,- separate Thread-tied. therefore is the Button too in each Thread To see, means not only at Beitrageditieren.
 
08/24/08  
 




Andreas
Miethe



CompileMarkSeparation
 $H Windows.ph
Declare Breite%, Hoehe%, Top%, Left%
Declare hMainWin&, hChildWin&
Declare hD%, hB%, Edit1%, Edit2%, Edit3%
Breite% = 1024
Hoehe% = 768
Top% = 0
Left% = 0
WindowStyle 27
hMainWin& = @Create("Window",%hWnd,"Irgend so a text",Top%,Left%,Breite%,Hoehe%)
hChildWin& = @Create("ChildWindow",hMainWin&, "Child", 80, 60, Breite% / 2, Hoehe% / 2)
Setstyle hChildwin&,$94CF0000
hB% = @Create("Button",hChildWin&,"&OK",50,50,20,20)
Edit1% = @Create("Edit",hChildWin&,"",100,100,150,20)
Edit2% = @Create("Edit",hChildWin&,"",100,130,150,20)
Edit3% = @Create("Edit",hChildWin&,"",100,160,150,20)
@SetFocus(Edit1%)
Waitkey
@SetFocus(Edit2%)
Waitkey
@SetFocus(Edit3%)
Waitkey
End
 
Gruss
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 :  [...] 
08/24/08  
 




Gerhard
Praher
Hello Andreas !

I werd insane ! the functions utterly !
Vielen, many Thanks ! - or as we here in Österreich say would: "Des is Wödklass !"

If you a woman wärst würd I you now abbussln.

thanks over again !
Gerhard
 
Windows XP Pro, SP3
Jetzt: XProfan 11
Was ich liebe sind 3 "F": meine Familie, meine Firma, meine Freizeit.
08/24/08  
 




RGH
... Perhaps ought to I for next XProfan-Version once more whom Style the begot Fensters to check on ...

Greeting
Roland
(power but first time two weeks leave)
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
08/24/08  
 




E.T.

Greeting
Roland
(power but first time two weeks leave)


Well then a lovely leave, but büdde come back !!!

Mario
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
08/25/08  
 



Roland has still mere a jest made, or can itself of/ one of you on it remind whom Urlaubsantrag too genehmigt to have?
 
08/25/08  
 




Gerhard
Praher
Hello all !

I have straight ausprobiert How itself 2 or several Childfenster in a Parentfenster behaviour what The Aktivierung anbelang.
here the Result:

Sofern time each Childwindows with the of Andreas bekanntgegebenen Style definiert functions too the Fensterwechsel.
Übrigens: over again thanks Andreas for this Tipp.
clicking one means into Childfenster becomes the others automatically inaktiv staid.
As I said: it functions only then if the Fensterstil for each Childfenster staid is.

The instruction moreover sounds: Setstyle hChildwin&,$94CF0000&

instead of "hChildwin&" must the jeweilige lever the Childfensters inserted go.
Weiters is therefore too gewährleistet, that any Childfenster inaktiv staid go once one the Parentwindow clicking.
means just as as his should.

greetings
Gerhard
 
Windows XP Pro, SP3
Jetzt: XProfan 11
Was ich liebe sind 3 "F": meine Familie, meine Firma, meine Freizeit.
08/26/08  
 



I hate this numbers : $94CF0000&

gives it for not a known Variable or Const.......

I have whom Fokus with $234444443 give away, after &4434344343 of Window &32433232324
closed was, it coming then but one Fokus Windows &32323233....

mfg
 
08/31/08  
 



on the day 8 erschuf it Konstantinopel:  [...] 
 
08/31/08  
 




Dietmar
Horn
and very therefore is the "Konstantinopel" already since its birth in the "XProfan-Manager" include.

Greeting
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
08/31/08  
 




Gerhard
Praher
well super what it so everything gives !

now drives the Konstantin already Opel - a Konstantinopel.

Greeting Gerhard
 
Windows XP Pro, SP3
Jetzt: XProfan 11
Was ich liebe sind 3 "F": meine Familie, meine Firma, meine Freizeit.
08/31/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

19.988 Views

Untitledvor 0 min.
RudiB.09/12/22
Thomas Zielinski04/07/21
Peter Max Müller11/02/17
H.Brill10/08/17
More...

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