Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Nov 30, 2004, 06:38 PM   #1
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

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How could I turn on Grayscale Display in Accessibility with one click/shortcut ? XPcentric OS X Mavericks (10.9) 0 Mar 6, 2014 12:46 PM
Tags shortcut not appearing when I right click. iJcaP OS X Mavericks (10.9) 0 Oct 24, 2013 09:05 AM
iMac won't right click with ANY mouse (secondary click IS set) J.C iMac 9 Dec 9, 2012 11:47 AM
Chrome - middle mouse click, mouse 4, mouse 5 theaero OS X 1 Nov 16, 2012 08:01 AM
Shortcut / hotkey for right-click menu zipcode OS X 4 Aug 22, 2012 12:16 AM

Forum Jump

All times are GMT -5. The time now is 04:56 PM.

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

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