nanogui: terminating windows


Previous by date: 16 Jul 2002 10:02:24 -0000 Re: Current plans for Microwindows, Alex Holden
Next by date: 16 Jul 2002 10:02:24 -0000 Re: about Windows redraw, Alex Holden
Previous in thread: 16 Jul 2002 10:02:24 -0000 terminating windows, Fergal Kelly
Next in thread:

Subject: Re: [nanogui] terminating windows
From: Alex Holden ####@####.####
Date: 16 Jul 2002 10:02:24 -0000
Message-Id: <3D33EC2C.30700@linuxhacker.org>

Fergal Kelly wrote:
> If I want to terminate the windows and re open them at a later stage, and 
> get the same ID as before.

I'm not quite sure what you mean by "terminate the windows". If you just 
want to make it invisible, then unmap it with GrUnmapWindow(). You can 
remap it again later with GrMapWindow(). To destroy the window use 
GrDestroyWindow() (you don't need to unmap it first before destroying 
it). Once you've destroyed the window you won't get the same ID number 
again when you create a new one. Why do you want this?

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer


Previous by date: 16 Jul 2002 10:02:24 -0000 Re: Current plans for Microwindows, Alex Holden
Next by date: 16 Jul 2002 10:02:24 -0000 Re: about Windows redraw, Alex Holden
Previous in thread: 16 Jul 2002 10:02:24 -0000 terminating windows, Fergal Kelly
Next in thread:


Powered by ezmlm-browse 0.20.