Is it possible to put windowedscreen inside a container to hide or show it using a button?
Or other any idea?
Thanks for help
How hide/show windowedscreen?
How hide/show windowedscreen?
If translation=Error: reply="Sorry, Im Spanish": Endif
Re: How hide/show windowedscreen?
I recently wanted something quite similar sounding and found this post/code by TI-994A very helpful.
viewtopic.php?p=625584#p625584
Not sure if it's exactly what you're looking for but I achieved what I wanted anyway?
Moulder.
viewtopic.php?p=625584#p625584
Not sure if it's exactly what you're looking for but I achieved what I wanted anyway?

Moulder.
"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
Re: How hide/show windowedscreen?
Thanks for your answer, with TI-994A we learn a lot.moulder61 wrote: Sun Oct 06, 2024 7:33 pm I recently wanted something quite similar sounding and found this post/code by TI-994A very helpful.
viewtopic.php?p=625584#p625584
Not sure if it's exactly what you're looking for but I achieved what I wanted anyway?![]()
Moulder.
But no is what im looking for.
Some thing like an ID to embed in another gadget like butons into panelgadget or containergadget.
Imagine you have to panels, clik in the first and appear 3D window, clik in the second and show instructions.
Is this possible?
If translation=Error: reply="Sorry, Im Spanish": Endif
Re: How hide/show windowedscreen?
Well, I wanted to create a logout dialog for Linux that has a full screen background and a smaller window inside for the actual logout buttons.
I did it before, using sprites, but I wanted to use gadgets and buttons so it would change if the theme changed.
TI-994A's post showed me roughly how to do it. I just chopped it about to get what I wanted which was basically a blurred screenshot of the desktop with a normal dialog to logout etc.
I'm not sure what you want exactly, but TI-994A's code opens a window then lets you click a button to open another(child) window.
I eventually ended up with this. Sorry I can't be more helpful.

Moulder.
I did it before, using sprites, but I wanted to use gadgets and buttons so it would change if the theme changed.
TI-994A's post showed me roughly how to do it. I just chopped it about to get what I wanted which was basically a blurred screenshot of the desktop with a normal dialog to logout etc.
I'm not sure what you want exactly, but TI-994A's code opens a window then lets you click a button to open another(child) window.
I eventually ended up with this. Sorry I can't be more helpful.


Moulder.
"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
Re: How hide/show windowedscreen?
Thanks molder, but maybe i expressed bad.
Im looking for some thing like this...
win3D= OpenWindowedScreen(WindowID(0),0,0,500,300,0,0,0,#PB_Screen_NoSynchronization)
HideWindow(win3D,1)
Delay(2000)
HideWindow(win3D,0)
Is possible hide a 3D window?
Thaks for the help!
Im looking for some thing like this...
win3D= OpenWindowedScreen(WindowID(0),0,0,500,300,0,0,0,#PB_Screen_NoSynchronization)
HideWindow(win3D,1)
Delay(2000)
HideWindow(win3D,0)
Is possible hide a 3D window?
Thaks for the help!
If translation=Error: reply="Sorry, Im Spanish": Endif
Re: How hide/show windowedscreen?
I have no idea if that's possible, but if you can hide a window, why not a 3d window? Sounds like it should be possible?
I'm not sure this will help, and I cheat a lot, but sometimes when I open a window it flickers and I find it a bit annoying.
What I do instead is to open the window at a size of 0,0 then do the updating I need, then resize it to full screen or whatever?
So, what I'm sort of suggesting is, how about resizing the window to 0,0 instead of hiding it? Would that help?
Yes, I know I'm not a real programmer.
Moulder.
I'm not sure this will help, and I cheat a lot, but sometimes when I open a window it flickers and I find it a bit annoying.
What I do instead is to open the window at a size of 0,0 then do the updating I need, then resize it to full screen or whatever?
So, what I'm sort of suggesting is, how about resizing the window to 0,0 instead of hiding it? Would that help?
Yes, I know I'm not a real programmer.

Moulder.
"If it ain't broke, fix it until it is!
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV
This message is brought to you thanks to SenselessComments.com
My PB stuff for Linux: "https://u.pcloud.link/publink/show?code ... z3MR0T3jyV