Re: Scrolling NSScrollView by fractional amounts - why would values get rounded?

2009-09-14 Thread Piotr Grzybowski
Hullo Martin, maybe you should check: v0=[scrollviewfromNib verticalLineScroll]; v1=[otherscrollview verticalLineScroll]; where scrollviewfromNib and otherscrollview correspond to your two controls. then if (fabs(v0-v1)>=0.1) ;-) you know.. hope this helps, pg On Thu, Sep 10, 2009 at 4:01

hide main menu, not appear in dock, "run in background".

2009-07-16 Thread Piotr Grzybowski
Hello Everyone, For some time I wanted my cocoa application not to appear in the dock, nor to show the main menu bar. After some searching and screaming, I managed to achieve this by adding NSBGOnly 1 to the Info.plist, now my question is: is this the usual way of doing it? I am sure that there

Re: hide main menu, not appear in dock, "run in background".

2009-07-17 Thread Piotr Grzybowski
Dear Kiel and Kyle, thanx for answers and sorry for repeating the question. It was my first objc code. yours, pg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the m