How to Hide a SDL Window?

I want to hide the Window in my program temporary,
don’t need access while it’s hidden. But I want to
have it as before when it re-appears. Can anyone help?

thanks
Phuoc Can HUA=====
/_/_/_/_/_/_
www.huaonline.com
My Homepage is my Castle

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com

SDL_WM_IconifyWindow?

http://sdldoc.csn.ul.ie/sdlwmiconifywindow.php

You could pause whatever you have going in the window, and have it resume once the SDL
window is reactivated.

Just a thought.On Mon, 2004-09-20 at 16:57, Phuoc Can Hua wrote:

I want to hide the Window in my program temporary,
don’t need access while it’s hidden. But I want to
have it as before when it re-appears. Can anyone help?

Thanks.
Can I even get rid of the icon? or is there a trick to
secure surface information, so that I can close the
existing window and create a new one with the same
contens later?

If it’s too complicated don’t worry. I’ll use Minimize
because it’s only a interim solution. Currently, I
want to allow user to switch between a normal Window
GUI and SDL GUI because my SDL GUI is not fully
implemented yet.

— “Juan D. Espinoza” wrote:> On Mon, 2004-09-20 at 16:57, Phuoc Can Hua wrote:

I want to hide the Window in my program temporary,
don’t need access while it’s hidden. But I want to
have it as before when it re-appears. Can anyone
help?

SDL_WM_IconifyWindow?

http://sdldoc.csn.ul.ie/sdlwmiconifywindow.php

=====
/_/_/_/_/_/_
www.huaonline.com
My Homepage is my Castle

Find local movie times and trailers on Yahoo! Movies.

Is there any Restore or Maximize window SDL equivalent?

Is there any Restore or Maximize window SDL equivalent?

Not yet. It’s a feature planned for SDL 1.3

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Hi,

I am still playing arround with SDL (just SDL for now, I will check out
OpenGL later)

I have a small problem with sound. I am on a debian Linux with a 2.6
kernel using ALSA and artsd.
All my multimedia apps work with it but SDL has the following problems:

If SDL_AUDIODRIVER=ALSA:

  • When artsd has NOT performed any sound for a few seconds my SDL demo
    with sound works fine.
  • When artsd has just made a sound, my demo does NOT work:

$ ./sdltest

ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy

When SDL_AUDIODRIVER=artsc:

  • My demo NEVER works, even though I believe this is the right setting
    (artsd works on top of ALSA, so I want to use artsd):

$ ./sdltest

Fatal signal: Segmentation Fault (SDL Parachute Deployed)

What am I doing wrong?
Is there a way to ALLWAYS get my SDL sound work on this setup?

I have to kill artsd before executing my demo, or wait till artds
releases the sound device… that is not very nice!

Could someone help me on this?

Thank you!

Jose