Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 30, 2004, 06:38 PM   #1
cazlar
macrumors 6502
 
Join Date: Oct 2003
Location: Sydney, Australia
Keyboard shortcut vs mouse-click in Cocoa

I have an app that I'm making that has an NSView that I draw lines into, and also draw text into (with NSBezierPath). The problem is that I decided to add a keyboard shortcut (via IB) to my "Redraw" button, but when I call the button with the keyboard shortcut (as opposed to clicking with the mouse), the text (but not the lines?) ends up being flipped in the view!

How can the keyboard shortcut end up with a different result than the mouse-click????
cazlar is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Keyboard Shortcuts and tips to save everyone a little time and effort using the Mac. alexreich OS X 3 Dec 15, 2012 09:51 AM
Amazing feature: Keyboard Shortcuts Watabou iOS 5 and earlier 26 Oct 16, 2011 08:57 PM
Keyboard Shortcuts across applications??? penfool Mac Basics and Help 0 Sep 1, 2011 10:32 AM
Easy keyboard shortcut to navigate through web pages?? (see below) eroxx Mac Applications and Mac App Store 6 Apr 27, 2011 11:11 PM
Toggle Multiple Speakers in iTunes with Shortcut? EldrckTW Mac Programming 1 Dec 9, 2010 01:42 AM


All times are GMT -5. The time now is 01:11 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC