Cut/Paste doesn't work in modal window

Discussion in 'Mac Programming' started by fbs419, Oct 11, 2012.

  1. fbs419 macrumors newbie

    Joined:
    Sep 9, 2012
    #1
    There are a number of posts on this:

    http://stackoverflow.com/questions/579879/copy-paste-not-working-in-modal-window

    http://www.cocoabuilder.com/archive/cocoa/192462-enabling-cut-and-paste-in-modal-window.html

    http://www.shipsomecode.com/software/enabling-keyboard-shortcuts-with-nsstatusitems/

    They mention subclassing NSText, hooking up dummy menus, adding edit items, etc. Is all that necessary? It seems that cut and paste work fine on windows where you don't call runModalForWindow; why shouldn't modal windows work the same?

    Is there a simpler solution out there for modal windows? -- Thanks
     
  2. fbs419 thread starter macrumors newbie

    Joined:
    Sep 9, 2012

Share This Page