On Tue, 14 Sep 1999, Yoav Ben-Yosef wrote:
> I'm writing a small app using the ncurses and panel libs. This app has few
> overlapping windows that have to be on top each in its turn. The problem is
> that I'm not able to make a window refresh itself as on top once it is below
> other window. The cursor jumps to the appropriate window, which stays below
> all others. Can anyone give me a clue to the right way to do it?
the ncurses library has no notion of overlapping windows, in the sense of
a "real" windowing system (such as X, winXX, etc.). the window that gets
painted last - is that you see on the screen. if you need to work with
overlapping windows - you need to write the code that handles "stacking
order" on your own.
if you can read C++, i could send you the source for a library i once
wrote that uses ncurses, and implements this feature (among other things).
you could "steal" the relevant algorithms from there.
guy
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]