[net.micro.mac] A Tale of Two Oddities

dubois@uwmacc.UUCP (Paul DuBois) (06/23/86)

Here are two situations that I find mysterious.  If anyone can shed
any light on them, I'd be interested.  I'm working in LightspeedC,
although I don't know if that's germaine.

1) An application that creates multiple windows (regular document windows).
Nothing else.  As soon as I pull up DiskInfo (v1.33) , I can no longer select
a window by clicking in the title bar, and I can't drag them either.  When
I click in the title bar, the gray outline appears and immediately disappears,
as though I'd release the mouse.

I can still select the window by clicking in the *content* region, can still
resize with the grow box normally, can make the window go away by clicking
in the close box.

This doesn't happen with any other DA in my system file (Other..., ZoomIdle,
Control Panel).

2) An application that creates multiple windows (regular document windows).
The windows are numbered sequentially, and the number is turned into a
string and given to the window as its title.  Thus, the windows are
titled "1", "2", "3", etc.  As soon as I pull up DiskInfo, the windowing
sequence starts over - "1", "2"...
Furthermore, if I leave DiskInfo up, the numbering sequence is restarted
*every time* it does its check to see how much memory there is (you can
see the "Memory: xxxK of yyyK" line at the bottom of the window blink.)
This seems especially odd, since the variable controlling the sequence
is part of my application code.  None of the other variables get messed up.
It doesn't matter is the sequence var is a global, or a static local.

This doesn't happen with any other DA in my system file.


Can you see those ???'s above my head?
-- 
Paul DuBois     UUCP: {allegra,ihnp4,seismo}!uwvax!uwmacc!dubois    |
                ARPA: dubois@easter                               --+--
                                                                    |
"Well, we can't give an award to a _dead_ pig," said                |
the loud speaker.  "It's never been done."