|
hide cursor in IB windowhi there. i hope someone can help me here. For a Quartz composition i'm using two windows in Interface Builder - one window for the settings of the composition and another one for the QCView (HUD style). now i would like to hide the mouse in the QCView (for resizing and repositioning/dragging elements) but not in the settings window. i already looked at the QCFullscreen example from cwright, but this hides the cursor in the complete mainscreen. how can i tell only to hide in a special window. hope you have an answer. let me know if you need any further information. thx
|
you'll want to look into the <IOKIT/HID> they are where all the mouse controls are, or just search apples documentation for "pointer"
thanks for the hint. i'll see what i find there.
hey, did you find a solution ? I'm also greatly interested in knowing that tip ...
yes, i did find a way. i think i used cwrights' "fullscreen" example and modified it. now i have a window with a CustomView object that hides the mouse on enter and shows it on exit. and above that CustomView is the QCView for the composition. i know kind of strange, but i works. do you also need to hide the mouse?
no, sorry. wasn't the code from "QCFullscreen". it was an example code from apple: TrackIt (http://developer.apple.com/mac/library/samplecode/TrackIt/index.html#//a...). if you want the modified code, let me know.