hey, Cocoa, don't touch that cursor
hey, Cocoa, don't touch that cursor
- Subject: hey, Cocoa, don't touch that cursor
- From: Matt Neuburg <email@hidden>
- Date: Tue, 29 Jan 2002 17:20:32 -0800
My window redraws parts of itself periodically. If the user holds down the
mouse on the window, I set the cursor (using push) and reset it to the
arrow when the user release the mouse (using pop). But if the window
happens to redraw itself while the mouse is being held down, the cursor is
(prematurely) reset to the arrow at that moment, even though I know for a
fact that no code of mine said to do so - I haven't popped the cursor. So I
conclude that Cocoa is resetting the cursor even though I haven't told it
to. Is this a bug? It sure feels like one. Whether or not it is, anyone got
a workaround? Thx - m.
--
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/