Roosterhouse
2004.08.05, 01:10 PM
I've got my fullscreen mode working, pretty much. One strange thing is (and maybe its supposed to work this way and I'm just uneducated) that my fullscreen window's origin (the one that sits on top of CGDisplayCapture's shielding window) is 168 pixels below the bottom of my display, and I have to manually move it up 168 pixels for it to view properly.
The resolution changes from 1024 x 768 to 800 x 600, and I'm sure this is what is causing the problem
I'm using - initWithContentRect: (NSRect)rect ... to build my fullscreen window, and rect is setup as NSMakeRect(0,0,800, 600) . What should I set the origin at to make sure it is placed in the bottom left corner, regardless of the display?
I'm sorry if this doesn't make any sense... I'm not near the computer this code is on, so I'm trying to remeber exactly what the problem is.
Thanks
Chris
The resolution changes from 1024 x 768 to 800 x 600, and I'm sure this is what is causing the problem
I'm using - initWithContentRect: (NSRect)rect ... to build my fullscreen window, and rect is setup as NSMakeRect(0,0,800, 600) . What should I set the origin at to make sure it is placed in the bottom left corner, regardless of the display?
I'm sorry if this doesn't make any sense... I'm not near the computer this code is on, so I'm trying to remeber exactly what the problem is.
Thanks
Chris