nanogui: Bug in GrMapWindow???


Previous by date: 22 Nov 2001 10:32:32 -0000 Re: Multi threads with WIN32 API, Greg Haerr
Next by date: 22 Nov 2001 10:32:32 -0000 Re: Bug in GrMapWindow???, Olaf Winne
Previous in thread:
Next in thread: 22 Nov 2001 10:32:32 -0000 Re: Bug in GrMapWindow???, Olaf Winne

Subject: Bug in GrMapWindow???
From: Olaf Winne ####@####.####
Date: 22 Nov 2001 10:32:32 -0000
Message-Id: <01112211324700.00712@o6v9n4>

Hi, 
maybe I got it wrong, but I tried to use the map and unmap function of nano-X.

First, I declared two windows (GrNewWindowEx). Then I mapped the first (no 
probelms):

               GrMapWindow(w_init);

I need to change between the defined windows, which are all 
GR_ROOT_WINDOW_ID windows.

To show another window, I use:

      GrMapWindow(w_MsgBox);
      GrUnmapWindow(w_init);

And to switch back to the first window, the commands above vice versa.

What happens: The second window is displayed correctly over the first one. 
But when I switch back, the second window stays on top (in fact, the color of 
the title bar changes).

The only way to show the first window again is to destroy the second window, 
what I don't want, because ist is for later use also.

Any hints? 

Thank you,
Olaf






Previous by date: 22 Nov 2001 10:32:32 -0000 Re: Multi threads with WIN32 API, Greg Haerr
Next by date: 22 Nov 2001 10:32:32 -0000 Re: Bug in GrMapWindow???, Olaf Winne
Previous in thread:
Next in thread: 22 Nov 2001 10:32:32 -0000 Re: Bug in GrMapWindow???, Olaf Winne


Powered by ezmlm-browse 0.20.