Modal Dialog Window Buttons Ignoring Clicks (Sometimes)

  • This is most annoying.  Let me head off the first likely response - I
    need a modal dialog window - not a sheet.  There may or may not be a
    window open to host a sheet at the time I need to display this.  I
    don't need/want a sheet.

    I'm trying to get a modal window working - it is the registration
    tool - its job is to interrupt you and ask for registration
    information at key times.  It has two text fields and three buttons.
    It has a controller that owns it. The showWindow code is
    straightforward, loads from nib, sets up some look parameters, then
    calls NSApp runModalForWindow: dialogWindow.  The dialogWindow is an
    NSWindow.

    Often, the window and its elements seems to ignore mouse clicks,
    although keystrokes work for tabbing among items and entering text
    into the fields.  But it would be really nice if the buttons worked
    with the mouse.  Sometimes, the buttons kind-of work, accepting every
    nth click where n is something like 6 or 10.

    What am I doing wrong here?
previous month september 2007 next month
MTWTFSS
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Go to today