[comp.sys.apple] problem with NDA window

hartkopf@tramp.Colorado.EDU (Jeff Hartkopf) (10/31/89)

I'm having a strange problem with an NDA that I'm writing.  When using
the NDA from an application, if I open an application window, then open my
NDA window, and then click somewhere in the (disabled) application window's
content area, everything works fine:  the app window is brought to the
front.  However, if I click somewhere in the app window's title bar, it
is not brought to the front; its edge gets highlighted, but nothing more.
Further, if I click in the disabled app window's title bar and drag it,
the *NDA window* is moved in the direction and distance I dragged the
app window, as if I had dragged the NDA window, and the app window stays
where it was, and still disabled.

As far as I can tell, I'm doing everything the way its supposed to be; I
do return the pointer to the window's GrafPort at the end of the DA Open()
routine.  I also call SetSysWindow() after NewWindow().

Any ideas?


Jeff Hartkopf

Internet:
hartkopf@tramp.Colorado.EDU