customize print panel dialog

2008-05-06 Thread Ghufran Ahamad
Hi All, I want to customize print panel dialog. I'm adding a button on print panel dialog but it is not getting show on dialog. I'm using following code snippet. Let me know where the problem is - (void)printShowingPrintPanel:(BOOL)flag { NSPrintOperation *printOp; NSButton*

RE: Group rotation

2008-05-06 Thread Ghufran Ahamad
PROTECTED] Sent: Tuesday, April 29, 2008 12:04 PM To: Ghufran Ahamad Cc: cocoa-dev@lists.apple.com Subject: Re: Group rotation Implementing grouping that really works is quite hard. What about when groups are nested? This can go on indefinitely, so you need a mechanism that can take account

Group rotation

2008-04-28 Thread Ghufran Ahamad
Hi All, I want to do group rotation for various objects. Objects are getting rotate correctly on their center but when I group them the rotated object has got shift. Note: In case of group only rotated object has got shift. Below is the code snippet. Let me know I doing correct or not.

Can we write Mac Servies like We write for Windows services

2008-04-03 Thread Ghufran Ahamad
Hi All, I need to write a service in Mac (like we write a Windows services for PC). This will automatically run as soon as start the Mac machine. I would appreciate if any one knows how to write a Service for Mac OS X. Thanks, Ghufran Ahmad +91 - 9953130470 Skype ID: ghufran_khan81

Problem with Grouping the rotated object.

2008-04-02 Thread Ghufran Ahamad
Hi All, We are developing a kind of drawing application in Objective C using Cocoa framework. We have several separate graphical objects, each having their own position and rotation angle, are then grouped. As soon as we group the objects the rotated object has got shift with their angle. This