hide cursor in IB window

sybot's picture

hi 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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

dust's picture
Re: hide cursor in IB window

you'll want to look into the <IOKIT/HID> they are where all the mouse controls are, or just search apples documentation for "pointer"

sybot's picture
Re: hide cursor in IB window

thanks for the hint. i'll see what i find there.

franz's picture
sybot: hide cursor in IB window

hey, did you find a solution ? I'm also greatly interested in knowing that tip ...

sybot's picture
Re: sybot: hide cursor in IB window

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?

sybot's picture
Re: sybot: hide cursor in IB window

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.