jennico Posted April 14, 2007 Share Posted April 14, 2007 hello again, next question (sorry for asking much, but i am learning): i have a parent window like this: $parent=GUICreate("Tora",$breite,$hoehe,-1,-1,BitOr($WS_POPUP,$WS_MAXIMIZEBOX,$WS_CAPTION,$WS_SYSMENU,$WS_MINIMIZEBOX,$WS_THICKFRAME)) oÝ÷ ÚØ^'+y«^u§!WpwhÂÚ-í7ê«z{eG+ºÚ"µÍÌÍØÚ[QÕRPÜX]J ][ÝÖ[[][ÝË ËÝ[ ÚÝÜÚYÌIÌÍÞÚ[ÝÊKÝ[ ÚÝÜZYÚÌIÌÍÞ]Ú[ÝÊK ÌÍÕÔ×ÑVÓQPÒS ÌÍÕÔ×ÑVÓÕTTQÒSÕË ÌÍÜ[ H the child window has several button controls. now i want a label control to be created in the parent window when a button in the child gui is clicked. what happens is that the new label control is always created in the child window. how can i tell the script to create the new control in the parent window ? i tried: winactivate, winsetontop, didn't work. do i have to delete the child window first and then recreate it ? thank you all j. Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96 Link to comment Share on other sites More sharing options...
pdaughe Posted April 14, 2007 Share Posted April 14, 2007 (edited) Do a GUISWITCH to the parent window before creating the new control. hello again, next question (sorry for asking much, but i am learning): i have a parent window like this: $parent=GUICreate("Tora",$breite,$hoehe,-1,-1,BitOr($WS_POPUP,$WS_MAXIMIZEBOX,$WS_CAPTION,$WS_SYSMENU,$WS_MINIMIZEBOX,$WS_THICKFRAME)) oÝ÷ ÚØ^'+y«^u§!WpwhÂÚ-í7ê«z{eG+ºÚ"µÍÌÍØÚ[QÕRPÜX]J ][ÝÖ[[][ÝË ËÝ[ ÚÝÜÚYÌIÌÍÞÚ[ÝÊKÝ[ ÚÝÜZYÚÌIÌÍÞ]Ú[ÝÊK ÌÍÕÔ×ÑVÓQPÒS ÌÍÕÔ×ÑVÓÕTTQÒSÕË ÌÍÜ[ H the child window has several button controls. now i want a label control to be created in the parent window when a button in the child gui is clicked. what happens is that the new label control is always created in the child window. how can i tell the script to create the new control in the parent window ? i tried: winactivate, winsetontop, didn't work. do i have to delete the child window first and then recreate it ? thank you all j. Edited April 14, 2007 by pdaughe Link to comment Share on other sites More sharing options...
jennico Posted April 14, 2007 Author Share Posted April 14, 2007 ya, it works !!!!! thank you !!!!! i don't know why i didn't find this in the help file, maybe because the text does not contain the keywords "child","parent"? i searched all the win... and nearly the whole gui... section, but "guiswitch" is the very last command in the list. wow. j. Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now