[comp.sys.amiga.programmer] front/back gadget and upfrontlayer

link@ucunix.san.uc.edu (Virginia Link) (06/13/91)

In a program we are developing, we are trying to bring the clock
to the front.  Under 1.2, there are no problems, but under 2.0 there
are a few bugs that we have yet to figure out.  The problem
revolves around the front to back gadget.  If we stop bringing
the clock to front, things are fine, but when this feature is
turned on, things become a little squirrelly.  It seems that
when a window is in the back, and I hit the front/back gadget,
it will always bring the window to the front, but once it is in the
front, it will not move it to the back, unless I hit the gadget
twice quickly.  We are guessing that our call the upfrontlayer
is confusing the program that determines if a certain window
is in the front or back.  Is there a correct way to call upfront
layer which will not cause this problem.  Simialiar things happen
either call windowtofront or upfrontlayer.


vl