Proxy icon in window title set with SetWindowProxyFSSpec respects
window modified state set with SetWindowModified (icon is dimmed
when window is modified). This is desired behavior for me. Though,
I don't have a corresponding file/folder to begin with (and I don't
need the icon or the underling file to be draggable at all), yet
I need this dimmed-when-modified behavior. Unfortunately, icon set
with SetWindowProxyCreatorAndType or SetWindowProxyIcon doesn't
automatically respects window's modified state - it is always drawn
active. Plus it is draggable (even if window is set modified). What
are the best means to make it non draggable and make it respecting
window's modified state?
My current plan is to intercept (and block) the appropriate carbon
events that deal with proxy dragging to block dragging and to set
a different dimmed/undimmed icon every time I call SetWindowModified
(or instead of it). The latter is inconvenient and requires the
ability of creating a dimmed icon variant for a given icon - something
I don't know how to do at the moment. Is there a simpler way?
Mike
_______________________________________________
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