| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Starting in Jaguar you can use kHIViewWindowGrowBoxID to get the grow box
HIView and install a {kEventClassControl, kEventControlDraw} handler on it,
or you can try my previous suggestion of installing a {kEventClassWindow,
kEventWindowDrawGrowBox} handler on the window. And finally, I think there's
an alternative grow box you can using in Panther for windows where you want
minimal interference with the background of the window. You may want to
consider that, as it would be more consistent with other applications.
Personally I'd use HIViewFindByID(HIViewGetRoot(window),kHIViewWindowGrowBoxID,&view) and install a Draw handler on that. Nonetheless, if the area normally covered by the growbox is part of your OpenGL context, you will *not* be able to draw on it directly via CoreGraphics or Quickdraw -- at least in Jaguar, not sure in Panther. In which case you'll have to draw the growbox via OpenGL in your AGL context.
| References: | |
| >Re: Can you hide resize thumb in Carbon? (From: Laurence Harris <email@hidden>) | |
| >Re: Can you hide resize thumb in Carbon? (From: Dario Accornero <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.