• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[Q] How do I Create an NSEvent Using Runtime Functions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Q] How do I Create an NSEvent Using Runtime Functions?


  • Subject: [Q] How do I Create an NSEvent Using Runtime Functions?
  • From: Maurice Volaski <email@hidden>
  • Date: Fri, 16 May 2003 13:04:30 -0400

I would like to create an NSEvent object in a plain C program by using
objc_msgSend to send the class method keyEventWithType, but I am getting
back "selector not recognized".

I ran a program that enumerates all the methods of NSEvent and there doesn't
seem to be any method registered in AppKit for keyEventWithType or any of
the methods for creating events.

What's going on?

--
Maurice Volaski, Flux Software email@hidden
http://www.fluxsoft.com/ ftp://ftp.fluxsoft.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: [Q] How do I Create an NSEvent Using Runtime Functions?
      • From: "Clark S. Cox III" <email@hidden>
  • Prev by Date: getting movies into pasteboards
  • Next by Date: NSImage cell tanking
  • Previous by thread: getting movies into pasteboards
  • Next by thread: Re: [Q] How do I Create an NSEvent Using Runtime Functions?
  • Index(es):
    • Date
    • Thread