windowDidExpose Not Being Called
windowDidExpose Not Being Called
- Subject: windowDidExpose Not Being Called
- From: Henry McGilton <email@hidden>
- Date: Mon, 28 Apr 2003 10:33:51 -0700
I have this curious situation where I am implementing the
windowDidExpose delegate method for a window. windowDidExpose
is never being called.
Yes, I have set self (my Controller object) as the window
delegate. I checked by invoking [myWindow delegate] and
checking to see if the delegate was not nil. It is not nil.
But even paranoids have enemies, so I stuck in a test to see
if [myWindow delegate] is actually what it should be, and it
is correct --- that is, delegate == my controller object
I even stuck in the windowDidBecomeKey method, and *that*
method *is* being called. But windowDidExpose never gets
called. Unfortunately, in the application in which I wish
to use this, I can not use windowDidBecomeKey because it is
not designated as a key window --- it is brought forward
simply by using orderFront:
Even when I hide the application and then bring it back to
the front by clicking on its dock icon, windowDidExpose does
not get called.
So, does anybody know under what conditions windowDidExpose
will get called?
Best Wishes,
........ Henry
===============================+============================
Henry McGilton | Trilithon Software
Boulevardier, Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden |
http://www.trilithon.com
===============================+============================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.