| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Hi all, here is my problem. Here I called the
application I am working on AppX. Below is the steps I did:
1. I connected a second monitor on my laptop( The
version of OS is Mac OS X 10.5.2).
2. I launched AppX and I moved the window of AppX
to the second monitor.
3. I clicked window Zoom widget.
4. I disconnected the monitor.
Results: AppX crashed.
I looked in the stack, and I found the application
received a Event having the value of kEventlassControl/kEventControlDraw. It
caused the application to draw the window, and by that time the current GDHandle
pointer I used had become invalid.
I tried the TextEdit application following the same
steps listed above. And its window was redrawed on my laptop's display.
What I want to know is that: 1) When I
disconnect the second monitor, what kind event the system will send.
2)
And why I receive the kEventlassControl/kEventControlDraw Event.
3)
I also want to know how the TextEdit does so.
Thanks
Yvonne Du
P.S. I captured the stack
![]() |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.