Re: GetMonitorFromWindow

2008-03-07 Thread Mike
No, you should not implement it. Macintosh HIG are different than for Windows. Windows does a lot of bad, brain-dead stuff. Just because it's done on Windows doesn't mean that is the right way to do it on the Mac. As a *professional developer* it is your job to tell your client when he/she is w

Re: GetMonitorFromWindow

2008-03-07 Thread John Stiles
Well all right then, the OP should check out the NSWindow delegate methods, and NSScreen. :) Randall Meadows wrote: On Mar 7, 2008, at 9:38 AM, John Stiles wrote: I'm going to jump on the bandwagon and say that your client is wrong. Mac apps do not and should not do this. Sorry, I've got t

Re: GetMonitorFromWindow

2008-03-07 Thread John Stiles
DVD Player is a special case—Apple is legally bound to prevent other apps from viewing the decrypted contents of the DVD. Recall that theoretically, DVDs are an encrypted/copy-protected medium. They jump through various hoops to make sure that other apps can't see the decrypted/decoded pixels,

Re: GetMonitorFromWindow

2008-03-07 Thread Gary L. Wade
Also, there are certain other presentation-based applications where this kind of functionality is desired. For example, when you want to go fullscreen with any kind of media, be it from iPhoto, PowerPoint, Keynote, etc., you may indeed wish the presentation window to situate itself fully on a p

Re: GetMonitorFromWindow

2008-03-07 Thread Randall Meadows
On Mar 7, 2008, at 9:38 AM, John Stiles wrote: I'm going to jump on the bandwagon and say that your client is wrong. Mac apps do not and should not do this. Sorry, I've got to jump in here as well, as much as I've tried to keep my mouth shut. Apparao Mulpuri posted a question requesting h

Re: GetMonitorFromWindow

2008-03-07 Thread Daniel Kennett
Try and make DVD Player span multiple screens - it simply won't. Since DVD Player is hardware accelerated, I was going to suggest that hardware accelerating across multiple screens is hard (especially when said screens are connected to different cards), but World of Warcraft manages just fi

Re: GetMonitorFromWindow

2008-03-07 Thread John Stiles
I'm going to jump on the bandwagon and say that your client is wrong. Mac apps do not and should not do this. Roy Lovejoy wrote: On Mar 6, 2008, at 9:48 PM, Apparao Mulpuri wrote: So you mean --- there is no APIs avialable. no, there are of course APIs available. I was just trying to hel

Re: GetMonitorFromWindow

2008-03-07 Thread Roy Lovejoy
On Mar 6, 2008, at 9:48 PM, Apparao Mulpuri wrote: So you mean --- there is no APIs avialable. no, there are of course APIs available. I was just trying to help you a) not alienate your customers b) avoid work that does not need to be coded. ___

Re: GetMonitorFromWindow

2008-03-06 Thread Trouble Maker
Might also want to let your client know that you care more about meeting requirements than providing optimal value. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the m

Re: GetMonitorFromWindow

2008-03-06 Thread Jens Alfke
On 6 Mar '08, at 10:12 PM, Apparao Mulpuri wrote: Actually this is one of our client requirement, he simply follows the windows product(where this functionity is available). You might want to let the client know that this sort of literal-minded porting has resulted in a number of failed Mac

Re: GetMonitorFromWindow

2008-03-06 Thread Nick Zitzmann
On Mar 6, 2008, at 11:12 PM, Apparao Mulpuri wrote: Actually this is one of our client requirement, he simply follows the windows product(where this functionity is available). So i should implement it. If APIs available, Could you please provide those OK, I guess a business requirement coun

Re: GetMonitorFromWindow

2008-03-06 Thread Apparao Mulpuri
Actually this is one of our client requirement, he simply follows the windows product(where this functionity is available). So i should implement it. If APIs available, Could you please provide those Thanks, - Apparao On 3/7/08, Nick Zitzmann <[EMAIL PROTECTED]> wrote: > > On Mar 6, 2008, at 10:

Re: GetMonitorFromWindow

2008-03-06 Thread Nick Zitzmann
On Mar 6, 2008, at 10:48 PM, Apparao Mulpuri wrote: So you mean --- there is no APIs avialable. There is, but you really shouldn't be doing what you're trying to do unless you have an extremely good reason. It's perfectly OK for a user to have a window straddle two screens. Nick Zitzma

Re: GetMonitorFromWindow

2008-03-06 Thread Apparao Mulpuri
So you mean --- there is no APIs avialable. - Apparao On 3/7/08, Roy Lovejoy <[EMAIL PROTECTED]> wrote: > > On Mar 6, 2008, at 9:01 PM, Apparao Mulpuri wrote: > > > Hi List, > > > > Presently i am adding DualMonitor support to my application. If > > user drags application window to more than

Re: GetMonitorFromWindow

2008-03-06 Thread Roy Lovejoy
On Mar 6, 2008, at 9:01 PM, Apparao Mulpuri wrote: Hi List, Presently i am adding DualMonitor support to my application. If user drags application window to more than 50% portion to other monitor, i have to dispaly it fully in second monitor, otherwise undo the drag operation. so... you

GetMonitorFromWindow

2008-03-06 Thread Apparao Mulpuri
Hi List, Presently i am adding DualMonitor support to my application. If user drags application window to more than 50% portion to other monitor, i have to dispaly it fully in second monitor, otherwise undo the drag operation. Is Apple provides any api like GetMonitorFromWindow() in VB